class Tilia::VObject::Property::VCard::LanguageTag

LanguageTag property.

This object represents LANGUAGE-TAG values as used in vCards.

Public Instance Methods

raw_mime_dir_value() click to toggle source

Returns a raw mime-dir representation of the value.

@return [String]

# File lib/tilia/v_object/property/v_card/language_tag.rb, line 24
def raw_mime_dir_value
  value
end
raw_mime_dir_value=(val) click to toggle source

Sets a raw value coming from a mimedir (iCalendar/vCard) file.

This has been 'unfolded', so only 1 line will be passed. Unescaping is not yet done, but parameters are not included.

@param [String] val

@return [void]

# File lib/tilia/v_object/property/v_card/language_tag.rb, line 17
def raw_mime_dir_value=(val)
  self.value = val
end
value_type() click to toggle source

Returns the type of value.

This corresponds to the VALUE= parameter. Every property also has a 'default' valueType.

@return [String]

# File lib/tilia/v_object/property/v_card/language_tag.rb, line 34
def value_type
  'LANGUAGE-TAG'
end