class Slaw::Grammars::ZA::Act::Preamble

Public Instance Methods

to_xml(b, *args) click to toggle source
# File lib/slaw/grammars/za/act_nodes.rb, line 123
def to_xml(b, *args)
  stmts = statements.elements
  if !stmts.empty?
    b.preamble { |b|
      stmts.each { |e|
        e.preamble_statement.to_xml(b, "preamble__")
      }
    }
  end
end