Module: Rfcxml::V3::XrefText

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

Overview

Mixin module for common text formatting elements Included by Xref, Refcontent, and other elements

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/rfcxml/v3/xref_text.rb', line 10

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