Class: Vobject::Vcalendar::PropertyValue::Priority
- Inherits:
-
Integer
- Object
- PropertyValue
- Integer
- Vobject::Vcalendar::PropertyValue::Priority
- Defined in:
- lib/vobject/vcalendar/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Priority
constructor
A new instance of Priority.
- #to_hash ⇒ Object
Methods inherited from Integer
Methods inherited from PropertyValue
Constructor Details
#initialize(val) ⇒ Priority
Returns a new instance of Priority.
229 230 231 232 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 229 def initialize(val) self.value = val self.type = "priority" end |
Instance Method Details
#to_hash ⇒ Object
234 235 236 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 234 def to_hash value end |