Class: RaccMatchParser::GroupDef
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::GroupDef
- Defined in:
- lib/sportdb/parser.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#teams ⇒ Object
Returns the value of attribute teams.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
210 211 212 |
# File 'lib/sportdb/parser.rb', line 210 def name @name end |
#teams ⇒ Object
Returns the value of attribute teams
210 211 212 |
# File 'lib/sportdb/parser.rb', line 210 def teams @teams end |
Instance Method Details
#pretty_print(printer) ⇒ Object
211 212 213 214 215 216 |
# File 'lib/sportdb/parser.rb', line 211 def pretty_print( printer ) printer.text( "<GroupDef " ) printer.text( self.name ) printer.text( " teams=" + self.teams.pretty_inspect ) printer.text( ">" ) end |