class Mocha::AnyInstanceMethod

Private Instance Methods

method_body(method) click to toggle source
# File lib/mocha/any_instance_method.rb, line 12
def method_body(method)
  method
end
mock_owner() click to toggle source
# File lib/mocha/any_instance_method.rb, line 8
def mock_owner
  stubbee.any_instance
end
original_method_owner() click to toggle source
# File lib/mocha/any_instance_method.rb, line 20
def original_method_owner
  stubbee
end
stubbee_method(method_name) click to toggle source
# File lib/mocha/any_instance_method.rb, line 16
def stubbee_method(method_name)
  stubbee.instance_method(method_name)
end