class Slaw::Grammars::ZA::Act::SectionTitleType1

Public Instance Methods

num() click to toggle source

a section title of the form:

Definitions

  1. In this act…

# File lib/slaw/grammars/za/act_nodes.rb, line 254
def num
  section_title_prefix.number_letter.text_value
end
to_xml(b, *args) click to toggle source
# File lib/slaw/grammars/za/act_nodes.rb, line 258
def to_xml(b, *args)
  b.num("#{num}.")

  if inline_items.text_value
    b.heading { |b|
      inline_items.to_xml(b)
    }
  end
end