Method: Travel::CLI#beaches
- Defined in:
- lib/travel/cli.rb
#beaches ⇒ Object
86 87 88 89 90 91 |
# File 'lib/travel/cli.rb', line 86 def beaches Travel::Scraper.scrape_beaches.each.with_index(1) do |winner, index| puts "#{index}: #{winner.name} - #{winner.location}, #{winner.best_time}" end return nil end |