Class: SportDb::Parser::RefereeLine

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

Overview

support multiple referees (incl. assistant refs etc.)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#refereesObject

Returns the value of attribute referees

Returns:

  • (Object)

    the current value of referees



18
19
20
# File 'lib/sportdb/parser/parse_tree-props.rb', line 18

def referees
  @referees
end

Instance Method Details

#pretty_print(q) ⇒ Object



19
20
21
22
23
# File 'lib/sportdb/parser/parse_tree-props.rb', line 19

def pretty_print( q )
  q.group( 4, '<RefereeLine ', '>') do
    q.pp( referees )
  end
end