Class: Icalendar::Journal
- Defined in:
- lib/icalendar/journal.rb
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize ⇒ Journal
constructor
A new instance of Journal.
Methods inherited from Component
Methods included from HasComponents
#add_component, included, #method_missing, #respond_to_missing?
Methods included from HasProperties
included, #method_missing, #respond_to_missing?, #valid?
Constructor Details
#initialize ⇒ Journal
Returns a new instance of Journal.
31 32 33 34 35 |
# File 'lib/icalendar/journal.rb', line 31 def initialize super 'journal' self.dtstamp = Icalendar::Values::DateTime.new Time.now.utc, 'tzid' => 'UTC' self.uid = new_uid end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Icalendar::HasComponents