Class: Vobject::Vcalendar::PropertyValue::PercentComplete
- Inherits:
-
Integer
- Object
- PropertyValue
- Integer
- Vobject::Vcalendar::PropertyValue::PercentComplete
- Defined in:
- lib/vobject/vcalendar/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ PercentComplete
constructor
A new instance of PercentComplete.
- #to_hash ⇒ Object
Methods inherited from Integer
Methods inherited from PropertyValue
Constructor Details
#initialize(val) ⇒ PercentComplete
Returns a new instance of PercentComplete.
218 219 220 221 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 218 def initialize(val) self.value = val self.type = "percentcomplete" end |
Instance Method Details
#to_hash ⇒ Object
223 224 225 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 223 def to_hash value end |