Class RSpec::Mocks::MethodDouble
In: lib/rspec/mocks/method_double.rb
Parent: Hash

@private

Methods

Classes and Modules

Class RSpec::Mocks::MethodDouble::ProcWithBlock

Constants

IGNORED_BACKTRACE_LINE = 'this backtrace line is ignored'   @private

Attributes

method_name  [R]  @private
object  [R]  @private

Public Class methods

Public Instance methods

@private

In Ruby 2.1, ancestors include the correct ancestors, including the singleton classes

Our implementation for 1.9 (above) causes an error on 1.8: TypeError: singleton method bound for a different object

This doesn‘t work quite right in all circumstances but it‘s the best we can do. @private

@private

@private

@private

[Validate]