class Slaw::Grammars::ZA::Act::PartHeading

Public Instance Methods

num() click to toggle source
# File lib/slaw/grammars/za/act_nodes.rb, line 151
def num
  part_heading_prefix.alphanums.text_value
end
to_xml(b) click to toggle source
# File lib/slaw/grammars/za/act_nodes.rb, line 155
def to_xml(b)
  b.num(num)
  if heading.respond_to? :inline_items
    b.heading { |b|
      heading.inline_items.to_xml(b)
    }
  end
end