Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/status_cake/status_cake.rb
Instance Method Summary collapse
Instance Method Details
#&(other) ⇒ Object
2 3 4 |
# File 'lib/status_cake/status_cake.rb', line 2 def &(other) reject { |k, v| !(other.include?(k) && other[k] == v) } end |