Flowdock
intro() private

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/mocks/error_generator.rb, line 48
      def intro
        if @name
          "#{@declared_as} #{@name.inspect}"
        elsif Mock === @target
          @declared_as
        elsif Class === @target
          "<#{@target.inspect} (class)>"
        elsif @target
          @target
        else
          "nil"
        end
      end
Register or log in to add new notes.