Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/git_handler/core_ext/hash.rb
Instance Method Summary collapse
Instance Method Details
#keys_all?(keys) ⇒ Boolean
2 3 4 |
# File 'lib/git_handler/core_ext/hash.rb', line 2 def keys_all?(keys) self.keys.include_all?(keys) end |
#keys_any?(keys) ⇒ Boolean
6 7 8 |
# File 'lib/git_handler/core_ext/hash.rb', line 6 def keys_any?(keys) self.keys.include_any?(keys) end |