Class: Icalendar::Journal

Inherits:
Component show all
Defined in:
lib/icalendar/component/journal.rb

Overview

A Journal calendar component is a grouping of component properties that represent one or more descriptive text notes associated with a particular calendar date. The “DTSTART” property is used to specify the calendar date that the journal entry is associated with. Generally, it will have a DATE value data type, but it can also be used to specify a DATE-TIME value data type. Examples of a journal entry include a daily record of a legislative body or a journal entry of individual telephone contacts for the day or an ordered list of accomplishments for the day. The Journal calendar component can also be used to associate a document with a calendar date.

Instance Attribute Summary

Attributes inherited from Component

#name, #properties, #property_params

Instance Method Summary collapse

Methods inherited from Component

#method_missing, #print_string

Constructor Details

#initializeJournal

Returns a new instance of Journal.



15
16
17
# File 'lib/icalendar/component/journal.rb', line 15

def initialize()
  super("VJOURNAL")
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Icalendar::Component

Instance Method Details

#to_sObject



19
20
21
# File 'lib/icalendar/component/journal.rb', line 19

def to_s
  print_string { }
end