class Slaw::Grammars::ZA::Act::SubpartHeading

Public Instance Methods

num() click to toggle source
# File lib/slaw/grammars/za/act_nodes.rb, line 188
def num
  subpart_heading_prefix.num.text_value.strip()
end
to_xml(b) click to toggle source
# File lib/slaw/grammars/za/act_nodes.rb, line 192
def to_xml(b)
  b.num(num) unless self.num.empty?
  if heading.respond_to? :inline_items
    b.heading { |b|
      heading.inline_items.to_xml(b)
    }
  end
end