Sha256: 483c1aac233e9330bf6af370d9627efb070bacfba4a1ba02060835637b0a6af9
Contents?: true
Size: 484 Bytes
Versions: 2
Compression:
Stored size: 484 Bytes
Contents
require 'net/http' require 'uri' require 'ri_cal' module Almanack class Configuration attr_reader :event_sources def initialize reset! end def reset! @event_sources = [] end def add_ical_feed(url) @event_sources << IcalFeed.new(url) end def add_events(events) @event_sources << SimpleEventCollection.new(events) end def add_meetup_group(options) @event_sources << MeetupGroup.new(options) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
almanack-0.0.1.alpha2 | lib/almanack/configuration.rb |
almanack-0.0.1.alpha1 | lib/almanack/configuration.rb |