Class: SportDb::Parser::GoalLineCompat

Inherits:
Struct
  • Object
show all
Defined in:
lib/sportdb/parser/parse_tree-match.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#goalsObject

Returns the value of attribute goals

Returns:

  • (Object)

    the current value of goals



182
183
184
# File 'lib/sportdb/parser/parse_tree-match.rb', line 182

def goals
  @goals
end

Instance Method Details

#pretty_print(q) ⇒ Object



183
184
185
186
187
188
# File 'lib/sportdb/parser/parse_tree-match.rb', line 183

def pretty_print( q )
  q.group( 4, '<GoalLineCompat ', '>') do
    q.text( "goals=" )
    q.pp( goals )
  end
end