Class: Protocol::Caldav::Ical::Property
- Inherits:
-
Struct
- Object
- Struct
- Protocol::Caldav::Ical::Property
- Defined in:
- lib/protocol/caldav/ical/property.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/protocol/caldav/ical/property.rb', line 9 def name @name end |
#params ⇒ Object
Returns the value of attribute params
9 10 11 |
# File 'lib/protocol/caldav/ical/property.rb', line 9 def params @params end |
#value ⇒ Object
Returns the value of attribute value
9 10 11 |
# File 'lib/protocol/caldav/ical/property.rb', line 9 def value @value end |
Instance Method Details
#param(key) ⇒ Object
10 11 12 |
# File 'lib/protocol/caldav/ical/property.rb', line 10 def param(key) params[key.upcase] end |