Flowdock
method

pp_names

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::RespondTo
pp_names() private

No documentation

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

Hide source
# File lib/spec/matchers/respond_to.rb, line 52
      def pp_names
        # Ruby 1.9 returns the same thing for array.to_s as array.inspect, so just use array.inspect here
        @names.length == 1 ? "##{@names.first}" : @names.inspect
      end
Register or log in to add new notes.