RSpec::Mocks::AnyInstance

Public Instance Methods

__recorder() click to toggle source
# File lib/rspec/mocks/any_instance.rb, line 251
def __recorder
  @__recorder ||= AnyInstance::Recorder.new(self)
end
any_instance() click to toggle source
# File lib/rspec/mocks/any_instance.rb, line 238
def any_instance
  RSpec::Mocks::space.add(self)
  __recorder
end
rspec_verify() click to toggle source
# File lib/rspec/mocks/any_instance.rb, line 243
def rspec_verify
  __recorder.verify
  super
ensure
  __recorder.stop_all_observation!
  @__recorder = nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.