Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/rubyMorphbank.rb
Overview
Patch to convert arrays to hashes. Not the best solution at all.
Instance Method Summary collapse
-
#make_a_hash ⇒ Object
don’t use to_<foo>, conflicts with other nasty patchwork (e.g. Alchemist gem).
Instance Method Details
#make_a_hash ⇒ Object
don’t use to_<foo>, conflicts with other nasty patchwork (e.g. Alchemist gem)
67 68 69 |
# File 'lib/rubyMorphbank.rb', line 67 def make_a_hash # don't use to_<foo>, conflicts with other nasty patchwork (e.g. Alchemist gem) Hash[*self] end |