Class: Newsmlg2::Types::BlockType
- Includes:
- Base::CommonPowerAttributes, Base::I18NAttributes
- Defined in:
- lib/newsmlg2/types/block_types.rb
Overview
Natural-language content with minimal markup and line breaks. Mixed content.
Direct Known Subclasses
Access, ContentDescription, Definition, Details, Note, Registration, RightsBlockType
Instance Method Summary collapse
Methods included from Base::I18NAttributes
Methods included from Base::CommonPowerAttributes
Methods inherited from NarModel
lutaml_default_register, xml_attributes, xml_content, xml_element, xml_lang_attribute, xml_root_name
Instance Method Details
#to_s ⇒ Object
39 40 41 |
# File 'lib/newsmlg2/types/block_types.rb', line 39 def to_s Array(text).join.strip end |