Module: Drum::ToHashById
- Included in:
- Array
- Defined in:
- lib/drum/utils/ext.rb
Instance Method Summary collapse
-
#to_h_by_id ⇒ Hash<Object, Object>
Initializes a hash from the array grouping by ids as keys (which are assumed to be unique).