values

hsh.values รข array
Instance Public methods

Returns a new array populated with the values from hsh. See also Hash#keys.

h = { "a" => 100, "b" => 200, "c" => 300 }
h.values   #=> [100, 200, 300]
doc_ruby_on_rails
2015-04-12 01:15:05
Comments
Leave a Comment

Please login to continue.