Ruby Temukan Objek Array Nomor Lebih Rendah
array.max_by(&:field)
Annoying Armadillo
array.max_by(&:field)
my_array.max {|a,b| a.attr <=> b.attr }
array.max_by do |element|
element.field
end