Class: Slaw::ZA::Act::Preface
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Slaw::ZA::Act::Preface
- Defined in:
- lib/slaw/za/act_nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_xml(b, *args) ⇒ Object
94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/slaw/za/act_nodes.rb', line 94 def to_xml(b, *args) if text_value != "" b.preface { |b| statements.elements.each { |element| for e in element.elements e.to_xml(b, "") if e.is_a? NakedStatement end } } end end |