stash.rb

Path: lib/more/facets/stash.rb
Last Update: Fri Jul 03 08:08:21 +0200 2009

Required files

facets/hash/rekey  

Methods

merge!   replace   update   values_at  

Public Instance methods

[Source]

    # File lib/more/facets/stash.rb, line 53
53:   def merge!(other)
54:     super(other.rekey(&:to_s))
55:   end

[Source]

    # File lib/more/facets/stash.rb, line 57
57:   def replace
58:     super(other.rekey(&:to_s))
59:   end

[Source]

    # File lib/more/facets/stash.rb, line 49
49:   def update(other)
50:     super(other.rekey(&:to_s))
51:   end

[Source]

    # File lib/more/facets/stash.rb, line 61
61:   def values_at(*keys)
62:     super(keys.map{|k|k.to_s})
63:   end

[Validate]