instance method Hash#keys

keys -> [object][permalink][rdoc][edit]

全キーの配列を返します。



h1 = { "a" => 100, 2 => ["some"], :c => "c" }
p h1.keys           #=> ["a", 2, :c]

[SEE_ALSO] Hash#values,Hash#to_a