Class: Vobject::Vcalendar::PropertyValue::Journalstatus

Inherits:
Text show all
Defined in:
lib/vobject/vcalendar/propertyvalue.rb

Instance Attribute Summary

Attributes inherited from PropertyValue

#errors, #norm, #type, #value

Instance Method Summary collapse

Methods inherited from Text

escape, #to_s

Methods inherited from PropertyValue

#<=>, #name, #to_norm, #to_s

Constructor Details

#initialize(val) ⇒ Journalstatus

Returns a new instance of Journalstatus.



119
120
121
122
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 119

def initialize(val)
  self.value = val
  self.type = "journalstatus"
end

Instance Method Details

#to_hashObject



124
125
126
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 124

def to_hash
  value
end