Class: Slaw::ZA::Act::Preamble

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/slaw/za/act_nodes.rb

Instance Method Summary collapse

Instance Method Details

#to_xml(b, *args) ⇒ Object



108
109
110
111
112
113
114
115
116
# File 'lib/slaw/za/act_nodes.rb', line 108

def to_xml(b, *args)
  if text_value != ""
    b.preamble { |b|
      statements.elements.each { |e|
        e.to_xml(b, "")
      }
    }
  end
end