method
__mock_proxy
__mock_proxy()
private
Hide source
# File lib/spec/mocks/methods.rb, line 42 def __mock_proxy if Mock === self @mock_proxy ||= Proxy.new(self, @name, @options) else @mock_proxy ||= Proxy.new(self) end end