hsh.keys â array
Instance Public methods
Returns a new array populated with the keys from this hash. See also
Hash#values
.
h = { "a" => 100, "b" => 200, "c" => 300, "d" => 400 } h.keys #=> ["a", "b", "c", "d"]
Returns a new array populated with the keys from this hash. See also
Hash#values
.
h = { "a" => 100, "b" => 200, "c" => 300, "d" => 400 } h.keys #=> ["a", "b", "c", "d"]
Please login to continue.