Class: Flightsearcher
- Inherits:
-
Object
- Object
- Flightsearcher
- Defined in:
- lib/flight_searcher.rb
Constant Summary collapse
- VERSION =
'1.0.0'
Instance Method Summary collapse
Instance Method Details
#sort_flts_by_price(flts_ary) ⇒ Object
14 15 16 |
# File 'lib/flight_searcher.rb', line 14 def sort_flts_by_price flts_ary flts_ary.sort_by { |a| [a.origin, a.price] } end |