Class: Newsmlg2::Types::IntlStringType

Inherits:
NarModel
  • Object
show all
Includes:
Base::CommonPowerAttributes, Base::I18NAttributes
Defined in:
lib/newsmlg2/types/intl_string_type.rb

Overview

Internationalized normalized string: content plus language/directionality.

Instance Method Summary collapse

Methods included from Base::I18NAttributes

included

Methods included from Base::CommonPowerAttributes

included

Methods inherited from NarModel

lutaml_default_register, xml_attributes, xml_content, xml_element, xml_lang_attribute, xml_root_name

Instance Method Details

#to_sObject



12
13
14
# File 'lib/newsmlg2/types/intl_string_type.rb', line 12

def to_s
  text.to_s.strip
end