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.
Constant Summary
Constants inherited from Component
Component::CAL_EXTENSION_REGEX
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, #chunk_lines, #custom_property, #escape_chars, #fix_conflict_with_built_in, #method_missing, #multi_property?, #multiline_property?, #new_uid, #print_component, #print_headers, #print_parameters, #print_properties, #print_subcomponents, #printer, #properties_to_print, #remove_component, #respond_to_missing?, #to_ical
Methods inherited from Base
Constructor Details
#initialize ⇒ Alarm
Returns a new instance of Alarm.
39 40 41 42 43 44 45 |
# File 'lib/icalendar/component/alarm.rb', line 39 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