method
intro
intro()
private
Hide source
# File lib/spec/mocks/error_generator.rb, line 46 def intro @name ? "Mock '#{@name}'" : @target.class == Class ? "<#{@target.inspect} (class)>" : (@target.nil? ? "nil" : @target.to_s) end