Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/netlinx/erb/helpers.rb
Overview
:nodoc:
Other collapse
-
#to_h ⇒ Object
Convert array to hash.
Instance Method Details
#to_h ⇒ Object
Convert array to hash.
358 359 360 |
# File 'lib/netlinx/erb/helpers.rb', line 358 def to_h Hash[self] end |