Class: SportDb::MatchParserSimpleV2::Match
- Inherits:
-
Struct
- Object
- Struct
- SportDb::MatchParserSimpleV2::Match
- 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
-
#date ⇒ Object
Returns the value of attribute date.
-
#round ⇒ Object
Returns the value of attribute round.
-
#score1 ⇒ Object
Returns the value of attribute score1.
-
#score1i ⇒ Object
Returns the value of attribute score1i.
-
#score2 ⇒ Object
Returns the value of attribute score2.
-
#score2i ⇒ Object
Returns the value of attribute score2i.
-
#team1 ⇒ Object
Returns the value of attribute team1.
-
#team2 ⇒ Object
Returns the value of attribute team2.
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def date @date end |
#round ⇒ Object
Returns the value of attribute round
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def round @round end |
#score1 ⇒ Object
Returns the value of attribute score1
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def score1 @score1 end |
#score1i ⇒ Object
Returns the value of attribute score1i
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def score1i @score1i end |
#score2 ⇒ Object
Returns the value of attribute score2
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def score2 @score2 end |
#score2i ⇒ Object
Returns the value of attribute score2i
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def score2i @score2i end |
#team1 ⇒ Object
Returns the value of attribute team1
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def team1 @team1 end |
#team2 ⇒ Object
Returns the value of attribute team2
40 41 42 |
# File 'lib/sportdb/readers/match_parser.rb', line 40 def team2 @team2 end |