Module: UsefulMatchers::Matchers::Independent::Hashes

Defined in:
lib/useful_matchers/matchers/independent/hashes.rb,
lib/useful_matchers/matchers/independent/hashes/include_key_and_value.rb

Defined Under Namespace

Classes: IncludeKeyAndValueMatcher

Instance Method Summary collapse

Instance Method Details

#include_key(key) ⇒ Object



5
6
7
# File 'lib/useful_matchers/matchers/independent/hashes/include_key_and_value.rb', line 5

def include_key(key)
  IncludeKeyAndValueMatcher.new key
end