hsh.values → array Link
Returns a new array populated with the values from hsh. See also Hash#keys.
h = { “a” => 100, “b” => 200, “c” => 300 }
h.values #=> [100, 200, 300]
Source: show
hsh.values_at(key, …) → array Link
Return an array containing the values associated with the given keys. Also see Hash.select.
h = { “cat” => “feline”, “dog” => “canine”, “cow” => “bovine” }
h.values_at(“cow”, “cat”) #=> [“bovine”, “feline”]
Source: show