Module: Tbx::DataElement::InlineContent
- Included in:
- Admin, Tbx::Descrip, TermNote
- Defined in:
- lib/tbx/data_element.rb
Overview
Inline child element attributes for data-category elements that support mixed content per the ‘entity.noteText` pattern in TBXcoreStructV03.rng.
Included by: Admin, Descrip, TermNote (elements with noteText content). NOT included by: AdminNote, DescripNote, TransacNote, Transac, Ref (plain text only per RNG).
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
39 40 41 42 43 44 45 46 47 |
# File 'lib/tbx/data_element.rb', line 39 def self.included(base) base.class_eval do attribute :hi, ::Tbx::Hi, collection: true attribute :ec, ::Tbx::Ec, collection: true attribute :foreign, ::Tbx::Foreign, collection: true attribute :ph, ::Tbx::Ph, collection: true attribute :sc, ::Tbx::Sc, collection: true end end |