Convert array to hash. The elements on the array must be (key, value) pairs
Example:
>> [[1, 2], [3, 4]].to_hash >> {1=>2, 3=>4}
# File vendor/plugins/ubiquo_core/lib/ubiquo/extensions/array.rb, line 11
11: def to_hash
12: h = {}
13: each { |k, v| h[k] = v }
14: h
15: end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.