News for hackers. Stuff that matters.
Re:Ruby 2.6 by viraptor on Tuesday December 25, 2018 @08:05AM (#18757251)
I think you need `products.sort_by(&:cost).last.cost` for the same result.
Re:Ruby 2.6 by klohto on Tuesday December 25, 2018 @10:20AM (#18757700)
You’re correct!