Class: Slaw::Grammars::ZA::Act::SectionTitleType1

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/slaw/grammars/za/act_nodes.rb

Instance Method Summary collapse

Instance Method Details

#numObject

a section title of the form:

Definitions

  1. In this act…



208
209
210
# File 'lib/slaw/grammars/za/act_nodes.rb', line 208

def num
  section_title_prefix.number_letter.text_value
end

#titleObject



212
213
214
# File 'lib/slaw/grammars/za/act_nodes.rb', line 212

def title
  content.text_value
end