Class: Vcard::V3_0::PropertyValue::Version
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
#initialize(val) ⇒ Version
Returns a new instance of Version.
284
285
286
287
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 284
def initialize(val)
self.value = val
self.type = "version"
end
|
Instance Method Details
#to_hash ⇒ Object
293
294
295
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 293
def to_hash
value
end
|
#to_s ⇒ Object
289
290
291
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 289
def to_s
value
end
|