class Vobject::Vcalendar::PropertyValue::Boolean
Public Class Methods
new(val)
click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 333 def initialize(val) self.value = val self.type = "boolean" end
Public Instance Methods
to_hash()
click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 342 def to_hash value end
to_norm()
click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 346 def to_norm value.to_s.upcase end
to_s()
click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 338 def to_s value.to_s end