Flowdock
method

anythingize_lonely_keys

Importance_0
1.1.12 - Show latest stable - 0 notes - Class: Spec::Mocks::ArgumentConstraints
anythingize_lonely_keys(*args) private

No documentation

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

Hide source
# File lib/spec/mocks/argument_constraints.rb, line 230
      def anythingize_lonely_keys(*args)
        hash = args.last.class == Hash ? args.delete_at(-1) : {}
        args.each { | arg | hash[arg] = anything }
        hash
      end
Register or log in to add new notes.