instance method Hash#values

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

ハッシュの全値の配列を返します。



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

[SEE_ALSO] Hash#keys,Hash#to_a