Class: RaccMatchParser::RoundHeader
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::RoundHeader
- Defined in:
- lib/sportdb/parser/racc_tree.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
Returns the value of attribute group.
-
#names ⇒ Object
Returns the value of attribute names.
Instance Method Summary collapse
Instance Attribute Details
#group ⇒ Object
Returns the value of attribute group
92 93 94 |
# File 'lib/sportdb/parser/racc_tree.rb', line 92 def group @group end |
#names ⇒ Object
Returns the value of attribute names
92 93 94 |
# File 'lib/sportdb/parser/racc_tree.rb', line 92 def names @names end |
Instance Method Details
#pretty_print(printer) ⇒ Object
93 94 95 96 97 98 |
# File 'lib/sportdb/parser/racc_tree.rb', line 93 def pretty_print( printer ) printer.text( "<RoundHeader " ) printer.text( "#{self.names.join(', ')}" ) printer.text( " group=#{self.group}") if self.group printer.text( ">" ) end |