Enumerable
self[key]
Return the value associated to the key.
Return nil
if key is not registered
in mapping.
self[key] = value
Add binding of key to value.
clear
Remove all items.
each {|key, value|...}
each_pair {|key, value|...}
Iterate over each key and value pair.
each_key {|key|...}
Iterate over each key.
each_value {|value|...}
Iterate over each value.
has_key?
Return true if mapping has key.
keys
Return list of keys.
length
size
Return number of associations.
values
Return list of values.