the array is like this
[[1,"h"],[2,"g"]]
i want to select the parts of the array with the minimum value
and show the 2nd part of the element only meaning the strings like "h"
and "g"
i've tried this but it doesn't work
x.select{|c| c.first = [x.min{|a,b| a.first <=> b}.first]}.last