Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/enumerable/sugar.rb
Instance Method Summary collapse
Instance Method Details
#find_by_partial_hash(hash) ⇒ Object
9 10 11 |
# File 'lib/enumerable/sugar.rb', line 9 def find_by_partial_hash(hash) self.select { |h| h.includes_hash?(hash) } end |