Class: Slaw::ZA::Act::BlockParagraph
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Slaw::ZA::Act::BlockParagraph
- Defined in:
- lib/slaw/za/act_nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_xml(b, idprefix = '', i = 0) ⇒ Object
279 280 281 282 283 284 285 |
# File 'lib/slaw/za/act_nodes.rb', line 279 def to_xml(b, idprefix='', i=0) b.paragraph(id: "#{idprefix}paragraph-0") { |b| b.content { |b| elements.each_with_index { |e, i| e.to_xml(b, idprefix) } } } end |