class RSpec::Mocks::VerifyingPartialDoubleProxy
@private
Public Class Methods
Calls superclass method
RSpec::Mocks::Proxy::new
# File rspec-mocks/lib/rspec/mocks/verifying_proxy.rb, line 110 def initialize(object, expectation_ordering, optional_callback_invocation_strategy=DEFAULT_CALLBACK_INVOCATION_STRATEGY) super(object, expectation_ordering) @doubled_module = DirectObjectReference.new(object) # A custom method double is required to pass through a way to lookup # methods to determine their parameters. @method_doubles = Hash.new do |h, k| h[k] = VerifyingExistingMethodDouble.for(object, k, self) end optional_callback_invocation_strategy.call(@doubled_module) end
Public Instance Methods
Calls superclass method
RSpec::Mocks::VerifyingProxyMethods#ensure_implemented
# File rspec-mocks/lib/rspec/mocks/verifying_proxy.rb, line 123 def ensure_implemented(_method_name) return if Mocks.configuration.temporarily_suppress_partial_double_verification super end
# File rspec-mocks/lib/rspec/mocks/verifying_proxy.rb, line 128 def method_reference @method_doubles end