Module: Hash::Extras::ClassMethods
- Defined in:
- lib/vex/base/hash/extras.rb
Instance Method Summary collapse
Instance Method Details
#create(keys, values) ⇒ Object
7 8 9 |
# File 'lib/vex/base/hash/extras.rb', line 7 def create(keys, values) self[*keys.zip(values).flatten] end |