module Fonecal

Constants

VERSION

Public Class Methods

create_ical() click to toggle source
# File lib/fonecal.rb, line 16
def self.create_ical
  gps = []

  Fonecal::CalendarCrawler.new("http://www.formula1.com/races/calendar.html").eventLinks.each do |l|
    gps << Fonecal::GrandPrix.new(l)
  end

  Fonecal::Calendar.new(gps)
end