Malt  Hash

Parent

  • Object

Methods

[Validate]
Generated with RDazzle Newfish 1.4.0

Hash

Public Instance Methods

rekey(&block) click to toggle source
    # File lib/malt/core_ext.rb, line 12
12:   def rekey(&block)
13:     h = {}
14:     if block
15:       each{|k,v| h[block[k]] = v }
16:     else
17:       each{|k,v| h[k.to_sym] = v }
18:     end
19:     h
20:   end
to_hash() click to toggle source
   # File lib/malt/core_ext.rb, line 7
7:   def to_hash
8:     dup
9:   end

Disabled; run with --debug to generate this.