hsh.values_at(key, ...) â array
Instance Public methods
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"]
Please login to continue.