Class: Icalendar::Alarm
- Defined in:
- lib/icalendar/component/alarm.rb
Overview
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.
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize ⇒ Alarm
constructor
A new instance of Alarm.
Methods inherited from Component
#add_component, #add_sliced_text, #custom_property, #escape_chars, #multi_property?, #multiline_property?, #new_uid, #print_component, #print_parameters, #print_properties, #remove_component, #respond_to?, #to_ical
Methods inherited from Base
Constructor Details
#initialize ⇒ Alarm
Returns a new instance of Alarm.
37 38 39 40 41 42 43 |
# File 'lib/icalendar/component/alarm.rb', line 37 def initialize() super("VALARM") # Almost everyone just wants to display so I make it the # default so it works for most people right away... action "DISPLAY" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Icalendar::Component