Class: SportDb::Parser::GoalLineAlt
- Defined in:
- lib/sportdb/parser/parse_tree-match.rb
Overview
check - use a different name e.g. GoalLineScore or such - why? why not?
Instance Attribute Summary collapse
-
#goals ⇒ Object
Returns the value of attribute goals.
Instance Method Summary collapse
Instance Attribute Details
#goals ⇒ Object
Returns the value of attribute goals
150 151 152 |
# File 'lib/sportdb/parser/parse_tree-match.rb', line 150 def goals @goals end |
Instance Method Details
#pretty_print(q) ⇒ Object
151 152 153 154 155 156 |
# File 'lib/sportdb/parser/parse_tree-match.rb', line 151 def pretty_print( q ) q.group( 4, '<GoalLineAlt ', '>') do q.text( "goals=" ) q.pp( goals ) end end |