class Slaw::Grammars::ZA::Act::Preface

Public Instance Methods

to_xml(b, *args) click to toggle source
# File lib/slaw/grammars/za/act_nodes.rb, line 82
def to_xml(b, *args)
  stmts = statements.elements
  if !stmts.empty?
    b.preface { |b|
      stmts.each { |element|
        for e in element.elements
          e.to_xml(b, "") if e.respond_to? :to_xml
        end
      }
    }
  end
end