Class: RaccMatchParser::RoundOutline

Inherits:
Struct
  • Object
show all
Defined in:
lib/sportdb/parser/racc_tree.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



190
191
192
# File 'lib/sportdb/parser/racc_tree.rb', line 190

def level
  @level
end

#outlineObject

Returns the value of attribute outline

Returns:

  • (Object)

    the current value of outline



190
191
192
# File 'lib/sportdb/parser/racc_tree.rb', line 190

def outline
  @outline
end

Instance Method Details

#pretty_print(printer) ⇒ Object



191
192
193
# File 'lib/sportdb/parser/racc_tree.rb', line 191

def pretty_print( printer )
  printer.text( "<RoundOutline #{self.outline}, level=#{self.level}>" )
end