Class: Mocha::ImpersonatingName

Inherits:
Object
  • Object
show all
Defined in:
lib/mocha/names.rb

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ ImpersonatingName

Returns a new instance of ImpersonatingName.



5
6
7
# File 'lib/mocha/names.rb', line 5

def initialize(object)
  @object = object
end

Instance Method Details

#mocha_inspectObject



9
10
11
# File 'lib/mocha/names.rb', line 9

def mocha_inspect
  @object.mocha_inspect
end