Class: Icalendar::Daylight
- Defined in:
- lib/icalendar/component/timezone.rb
Overview
A Daylight component is a sub-component of the Timezone component which is used to describe the time offset for what is commonly known as daylight savings time.
Constant Summary
Constants inherited from Component
Component::CAL_EXTENSION_REGEX
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize ⇒ Daylight
constructor
A new instance of Daylight.
Methods inherited from Timezone
#add_component, #daylight, #standard
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 ⇒ Daylight
Returns a new instance of Daylight.
86 87 88 |
# File 'lib/icalendar/component/timezone.rb', line 86 def initialize() super("DAYLIGHT") end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Icalendar::Component