class RSpec::Mocks::ObjectMethodReference
@private
def find_method(object)
def find_method(object) object.method(@method_name) end
def method_defined?(object)
def method_defined?(object) (class << object; self; end).method_defined?(@method_name) end
def method_implemented?(object)
def method_implemented?(object) object.respond_to?(@method_name, true) end
def visibility_from(object)
def visibility_from(object) MethodReference.method_visibility_for(object, @method_name) end