Module: Rfcxml::V3::XrefText

Included in:
Refcontent, Xref
Defined in:
lib/rfcxml/v3/xref_text.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



19
20
21
22
23
24
25
26
27
# File 'lib/rfcxml/v3/xref_text.rb', line 19

def self.included(base)
  base.class_eval do
    attribute :em, ::Rfcxml::V3::Em, collection: true
    attribute :strong, V3::Strong, collection: true
    attribute :sub, V3::Sub, collection: true
    attribute :sup, V3::Sup, collection: true
    attribute :tt, V3::Tt, collection: true
  end
end