method
intro
1.2.0 -
Show latest stable
- Class:
Spec::Mocks::ErrorGenerator
intro()private
No documentation available.
# File lib/spec/mocks/error_generator.rb, line 47
def intro
@name ? "Mock '#{@name}'" : @target.class == Class ? "<#{@target.inspect} (class)>" : (@target.nil? ? "nil" : @target)
end