Class: Vobject::Vcalendar::PropertyValue::Calscale

Inherits:
PropertyValue
  • Object
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 PropertyValue

#<=>, #name, #to_norm

Constructor Details

#initialize(val) ⇒ Calscale

Returns a new instance of Calscale.



163
164
165
166
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 163

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

Instance Method Details

#to_hashObject



172
173
174
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 172

def to_hash
  value
end

#to_sObject



168
169
170
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 168

def to_s
  value
end