Flowdock
method

build_name_from_options

Importance_0
1.2.8 - Show latest stable - 0 notes - Class: Spec::Mocks::Mock
build_name_from_options(options) private

No documentation

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

Hide source
# File lib/spec/mocks/mock.rb, line 59
      def build_name_from_options(options)
        vals = options.inject([]) {|coll, pair| coll << "#{pair.first}: #{pair.last.inspect}"}
        @name = '{' + vals.join(', ') + '}'
      end
Register or log in to add new notes.