Parent

Methods

Array

Public Instance Methods

to_h() click to toggle source

Converts an array of values to a hash. the even indexes are the hash keys the odd indexes are the hash values

# File lib/core_ext/array.rb, line 6
  def to_h
    h = Hash[*self]
    h.symbolize_keys!    
  end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.