Class: Selene::Component
- Inherits:
-
Object
- Object
- Selene::Component
- Defined in:
- lib/selene/event.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(properties = {}) ⇒ Component
constructor
A new instance of Component.
- #to_h ⇒ Object
- #to_ical ⇒ Object
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_h ⇒ Object
7 8 9 |
# File 'lib/selene/event.rb', line 7 def to_h @properties end |
#to_ical ⇒ Object
11 12 |
# File 'lib/selene/event.rb', line 11 def to_ical end |