Sha256: 2fcc58273a101612e17168c7604a328fab3919384d0a09f20dd76cbdfadd6f7e
Contents?: true
Size: 311 Bytes
Versions: 1
Compression:
Stored size: 311 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/holiday_scraper' scraper = HolidayScraper::Scraper.new events = HolidayScraper::Parser.new.parse(scraper.page) events.each do |event| event_out = "#{event.name}: #{event.start_date}" event_out += " - #{event.end_date}" if event.end_date puts event_out end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
holiday_scraper-0.1.1 | bin/holiday_scraper |