Contents

Roo

Hash.keys

Returns the keys of this Hash object as an Array.

var h = {"a" => 100, "b" => 200}
h.keys # => ["a", "b"]