Module: BasicBlock
- Defined in:
- lib/relaton_iec/basic_block/dl.rb,
lib/relaton_iec/basic_block/note.rb,
lib/relaton_iec/basic_block/stem.rb,
lib/relaton_iec/basic_block/image.rb,
lib/relaton_iec/basic_block/index.rb,
lib/relaton_iec/basic_block/table.rb,
lib/relaton_iec/basic_block/formula.rb,
lib/relaton_iec/basic_block/alignment.rb,
lib/relaton_iec/basic_block/paragraph.rb,
lib/relaton_iec/basic_block/index_xref.rb,
lib/relaton_iec/basic_block/text_element.rb,
lib/relaton_iec/basic_block/paragraph_with_footnote.rb
Defined Under Namespace
Classes: Alignment, Dl, Formula, Image, Index, IndexXref, Note, Paragraph, ParagraphWithFootnote, Stem, Table, TextElement
Instance Method Summary collapse
Instance Method Details
#to_xml(builder) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/relaton_iec/basic_block/paragraph.rb', line 20 def to_xml(builder) p = builder.p id: @id do |b| @content.each { |c| c.to_xml b } @note.each { |n| n.to_xml b } end p[:align] = @align if @align end |