Sha256: 98ba28a1204dcf9093b5a370389fee064c94330999451652168c446f03b68ea2
Contents?: true
Size: 288 Bytes
Versions: 44
Compression:
Stored size: 288 Bytes
Contents
require 'tzinfo' class Subject def initialize(out=STDOUT) @event = RiCal.Event do |e| e.dtstart = "TZID=America/New_York:19970929T090000" e.rrule = "FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-2" end end def run @event.occurrences(:count => 7) end end
Version data entries
44 entries across 44 versions & 9 rubygems