Sha256: 2e13ece9cd7b6658d0a5ffcd61c9ea288a05090154f36a158823e3372a67fda1
Contents?: true
Size: 250 Bytes
Versions: 3
Compression:
Stored size: 250 Bytes
Contents
module ScoreScraper class Game attr_reader :home_team, :away_team, :game_state def initialize(attrs) @home_team = attrs[:home_team] || {} @away_team = attrs[:away_team] || {} @game_state = attrs[:game_state] || '' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
score-scraper-0.1.2 | lib/score_scraper/game.rb |
score-scraper-0.1.1 | lib/score_scraper/game.rb |
score-scraper-0.1.0 | lib/score_scraper/game.rb |