Class: RaccMatchParser::Sub
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::Sub
- Defined in:
- lib/sportdb/parser.rb
Instance Attribute Summary collapse
-
#minute ⇒ Object
Returns the value of attribute minute.
-
#sub ⇒ Object
Returns the value of attribute sub.
Instance Method Summary collapse
Instance Attribute Details
#minute ⇒ Object
Returns the value of attribute minute
198 199 200 |
# File 'lib/sportdb/parser.rb', line 198 def minute @minute end |
#sub ⇒ Object
Returns the value of attribute sub
198 199 200 |
# File 'lib/sportdb/parser.rb', line 198 def sub @sub end |
Instance Method Details
#pretty_print(printer) ⇒ Object
199 200 201 202 203 204 205 |
# File 'lib/sportdb/parser.rb', line 199 def pretty_print( printer ) buf = String.new buf << "(#{self.minute.to_s} " buf << self.sub.pretty_inspect buf << ")" printer.text( buf ) end |