Class: NflData::Game

Inherits:
Struct
  • Object
show all
Defined in:
lib/nfl_data/game.rb

Instance Attribute Summary collapse

Instance Attribute Details

#away_teamObject

Returns the value of attribute away_team

Returns:

  • (Object)

    the current value of away_team



4
5
6
# File 'lib/nfl_data/game.rb', line 4

def away_team
  @away_team
end

#home_teamObject

Returns the value of attribute home_team

Returns:

  • (Object)

    the current value of home_team



4
5
6
# File 'lib/nfl_data/game.rb', line 4

def home_team
  @home_team
end

#start_timeObject

Returns the value of attribute start_time

Returns:

  • (Object)

    the current value of start_time



4
5
6
# File 'lib/nfl_data/game.rb', line 4

def start_time
  @start_time
end

#weekObject

Returns the value of attribute week

Returns:

  • (Object)

    the current value of week



4
5
6
# File 'lib/nfl_data/game.rb', line 4

def week
  @week
end