Class: Fonecal::CalendarCrawler
- Defined in:
- lib/fonecal/calendar_crawler.rb
Instance Attribute Summary
Attributes inherited from Crawler
Instance Method Summary collapse
Methods inherited from Crawler
Constructor Details
This class inherits a constructor from Fonecal::Crawler
Instance Method Details
#eventLinks ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/fonecal/calendar_crawler.rb', line 3 def eventLinks eventLinks = [] @site.css('table.raceCalender tr.row').each do |event| eventLinks << @root + event.css('td.raceLocation a').attr('href') end eventLinks end |