Class: RaccMatchParser::RoundDef
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::RoundDef
- Defined in:
- lib/sportdb/parser.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date
205 206 207 |
# File 'lib/sportdb/parser.rb', line 205 def date @date end |
#duration ⇒ Object
Returns the value of attribute duration
205 206 207 |
# File 'lib/sportdb/parser.rb', line 205 def duration @duration end |
#name ⇒ Object
Returns the value of attribute name
205 206 207 |
# File 'lib/sportdb/parser.rb', line 205 def name @name end |
Instance Method Details
#pretty_print(printer) ⇒ Object
206 207 208 209 210 211 212 |
# File 'lib/sportdb/parser.rb', line 206 def pretty_print( printer ) printer.text( "<RoundDef " ) printer.text( self.name ) printer.text( " date=" + self.date.pretty_inspect ) if date printer.text( " durattion=" + self.duration.pretty_inspect ) if duration printer.text( ">" ) end |