module RSpec::Mocks::ArgumentMatchers
def self.anythingize_lonely_keys(*args)
- Private: -
def self.anythingize_lonely_keys(*args) hash = Hash === args.last ? args.delete_at(-1) : {} args.each { | arg | hash[arg] = AnyArgMatcher::INSTANCE } hash end