Class: Mocha::ImpersonatingName
Instance Method Summary collapse
-
#initialize(object) ⇒ ImpersonatingName
constructor
A new instance of ImpersonatingName.
- #mocha_inspect ⇒ Object
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_inspect ⇒ Object
9 10 11 |
# File 'lib/mocha/names.rb', line 9 def mocha_inspect @object.mocha_inspect end |