values Returns an array populated with the values fromhsh. : values « Hash « Ruby






values Returns an array populated with the values fromhsh.


h = { "a" => 100, "b" => 200, "c" => 300 }
h.values  

 

Related examples in the same category