[](key)
click to toggle source
def [](key)
super(convert_key(key))
end
[]=(key, value)
click to toggle source
def []=(key, value)
super(convert_key(key), value)
end
delete(key)
click to toggle source
def delete(key)
super(convert_key(key))
end
dup()
click to toggle source
def dup
self.class.new(self)
end
fetch(key, *extras)
click to toggle source
def fetch(key, *extras)
super(convert_key(key), *extras)
end
key?(key)
click to toggle source
def key?(key)
super(convert_key(key))
end
merge(hash)
click to toggle source
def merge(hash)
self.dup.update(hash)
end
merge!(other_hash)
click to toggle source
update(other_hash)
click to toggle source
def update(other_hash)
other_hash.each_pair do |key, value|
self[convert_key(key)] = value
end
self
end