Class: Icalendar::Alarm

Inherits:
Component show all
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

#name, #properties, #property_params

Instance Method Summary collapse

Methods inherited from Component

#method_missing, #print_string

Constructor Details

#initializeAlarm

Returns a new instance of Alarm.



7
8
9
10
# File 'lib/icalendar/component/alarm.rb', line 7

def initialize()
  super("VALARM")
  
end

Dynamic Method Handling

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

Instance Method Details

#to_sObject



12
13
14
# File 'lib/icalendar/component/alarm.rb', line 12

def to_s
  print_string {}
end