Sha256: f574c59da317a33e73502fbe7698856e876c9e3fb16aa09c17b1beea39352ce1

Contents?: true

Size: 854 Bytes

Versions: 2

Compression:

Stored size: 854 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
    
    def initialize()
      super("VALARM")
      
    end

    def to_ical
      print_string {}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
icalendar-0.95 lib/icalendar/component/alarm.rb
icalendar-0.96 lib/icalendar/component/alarm.rb