Sha256: 482bd0f07e4f3f02e5349fff22ee9fdcb6b8956fc4c7bb54add39adc03ac69ec

Contents?: true

Size: 926 Bytes

Versions: 3

Compression:

Stored size: 926 Bytes

Contents

=begin
  Copyright (C) 2005 Jeff Rose

  This library is free software; you can redistribute it and/or modify it
  under the same terms as the ruby language itself, see the file COPYING for
  details.
=end
module Icalendar 
  # An Alarm calendar component is a grouping of component
  # properties that is a reminder or alarm for an event or a
  # to-do. For example, it may be used to define a reminder for a
  # pending Event or an overdue Todo.  
  class Alarm < Component
  
    # Single properties
    ical_property :action
    ical_property :trigger
    
    # Single but must appear together
    ical_property :duration
    ical_property :repeat
    
    # Single and only occurring once
    ical_property :attach, :attachment
    
    ical_property :created
    ical_property :last_modified
    ical_property :timestamp
    ical_property :sequence

    def initialize()
      super("VALARM")
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
icalendar-0.96.2 lib/icalendar/component/alarm.rb
icalendar-0.96.1 lib/icalendar/component/alarm.rb
icalendar-0.96.3 lib/icalendar/component/alarm.rb