Sha256: e513a68fa3d93f233bdbec76c4a9ac0dbc7c799b49e780772ef9ad2b9d369f29

Contents?: true

Size: 541 Bytes

Versions: 8

Compression:

Stored size: 541 Bytes

Contents

module Icalendar
  # A Todo calendar component is a grouping of component
  # properties and possibly Alarm calendar components that represent
  # an action-item or assignment. For example, it can be used to
  # represent an item of work assigned to an individual; such as "turn in
  # travel expense today".
  class Todo < Component

    attr_reader :alarms

    def initialize()
      super("VTODO")
      
      @alarms = alarms
    end

    def to_s
      print_string { |s| @alarms.each { |alarm| alarm.to_s } }
    end      
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
bigtinker-0.93 extras/icalendar/component/todo.rb
bigtinker-0.94 extras/icalendar/component/todo.rb
bigtinker-0.95 extras/icalendar/component/todo.rb
bigtinker-0.98 lib/icalendar/component/todo.rb
rwdschedule-0.07 lib/icalendar/component/todo.rb
rwdschedule-1.02 extras/icalendar/component/todo.rb
rwdschedule-1.01 extras/icalendar/component/todo.rb
rwdschedule-1.00 extras/icalendar/component/todo.rb