Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/rubyMorphbank.rb
Overview
convert an array into a hash
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
51 52 53 |
# File 'lib/rubyMorphbank.rb', line 51 def to_h Hash[*self] end |