Class: Selene::Component

Inherits:
Object
  • Object
show all
Defined in:
lib/selene/event.rb

Direct Known Subclasses

Event

Instance Method Summary collapse

Constructor Details

#initialize(properties = {}) ⇒ Component

Returns a new instance of Component.



3
4
5
# File 'lib/selene/event.rb', line 3

def initialize(properties = {})
  @properties = properties
end

Instance Method Details

#to_hObject



7
8
9
# File 'lib/selene/event.rb', line 7

def to_h
  @properties
end

#to_icalObject



11
12
# File 'lib/selene/event.rb', line 11

def to_ical
end