Parent

Files

Mocha::ImpersonatingAnyInstanceName

Public Class Methods

new(klass) click to toggle source
# File lib/mocha/names.rb, line 17
def initialize(klass)
  @klass = klass
end

Public Instance Methods

mocha_inspect() click to toggle source
# File lib/mocha/names.rb, line 21
def mocha_inspect
  "#<AnyInstance:#{@klass.mocha_inspect}>"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.