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
183 184 185 |
# File 'lib/sportdb/parser.rb', line 183 def minute @minute end |
#sub ⇒ Object
Returns the value of attribute sub
183 184 185 |
# File 'lib/sportdb/parser.rb', line 183 def sub @sub end |
Instance Method Details
#pretty_print(printer) ⇒ Object
184 185 186 187 188 189 190 |
# File 'lib/sportdb/parser.rb', line 184 def pretty_print( printer ) buf = String.new buf << "(#{self.minute.to_s} " buf << self.sub.pretty_inspect buf << ")" printer.text( buf ) end |