class Game
Attributes
away_team[R]
home_team[R]
url[R]
Public Class Methods
new(url)
click to toggle source
# File lib/mlb_gd2/game.rb, line 12 def initialize(url) @url = url @home_team = Team.new(boxscore(url), "home") @away_team = Team.new(boxscore(url), "away") end