Class: SportDb::MatchParserSimpleV2::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/sportdb/readers/match_parser.rb

Overview

todo: change db schema

make start and end date optional
change pos to num - why? why not?
make pos/num optional too

sort round by scheduled/planed start date

Instance Attribute Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def date
  @date
end

#roundObject

Returns the value of attribute round

Returns:

  • (Object)

    the current value of round



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def round
  @round
end

#score1Object

Returns the value of attribute score1

Returns:

  • (Object)

    the current value of score1



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def score1
  @score1
end

#score1iObject

Returns the value of attribute score1i

Returns:

  • (Object)

    the current value of score1i



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def score1i
  @score1i
end

#score2Object

Returns the value of attribute score2

Returns:

  • (Object)

    the current value of score2



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def score2
  @score2
end

#score2iObject

Returns the value of attribute score2i

Returns:

  • (Object)

    the current value of score2i



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def score2i
  @score2i
end

#team1Object

Returns the value of attribute team1

Returns:

  • (Object)

    the current value of team1



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def team1
  @team1
end

#team2Object

Returns the value of attribute team2

Returns:

  • (Object)

    the current value of team2



40
41
42
# File 'lib/sportdb/readers/match_parser.rb', line 40

def team2
  @team2
end