Libraries
»
xcake
(0.8.12)
»
Index (A)
»
Array
Class: Array
Inherits:
Object
Object
Array
show all
Defined in:
lib/xcake/core_ext/array.rb
Instance Method Summary
collapse
#
to_h
⇒ Object
Instance Method Details
#
to_h
⇒
Object
2 3 4
# File 'lib/xcake/core_ext/array.rb', line 2
def
to_h
Hash
[
*
flatten
(
1
)
]
end