Class: MLB::AttendanceRecord
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::AttendanceRecord
- Defined in:
- lib/mlb/attendance_record.rb
Overview
Represents an attendance record for a team
Instance Attribute Summary collapse
-
#attendance_average_away ⇒ Integer
Returns the average away attendance.
-
#attendance_average_home ⇒ Integer
Returns the average home attendance.
-
#attendance_average_ytd ⇒ Integer
Returns the average year-to-date attendance.
-
#attendance_high ⇒ Integer
Returns the highest single-game attendance.
-
#attendance_low ⇒ Integer
Returns the lowest single-game attendance.
-
#attendance_total ⇒ Integer
Returns the total attendance.
-
#attendance_total_away ⇒ Integer
Returns the total away attendance.
-
#attendance_total_home ⇒ Integer
Returns the total home attendance.
-
#games_away_total ⇒ Integer
Returns the total away games.
-
#games_home_total ⇒ Integer
Returns the total home games.
-
#games_total ⇒ Integer
Returns the total number of games.
-
#openings_total ⇒ Integer
Returns the total number of openings.
-
#openings_total_away ⇒ Integer
Returns the total away openings.
-
#openings_total_home ⇒ Integer
Returns the total home openings.
-
#team ⇒ Team
Returns the team.
-
#year ⇒ String
Returns the year of the attendance record.
Instance Attribute Details
#attendance_average_away ⇒ Integer
Returns the average away attendance
112 |
# File 'lib/mlb/attendance_record.rb', line 112 attribute :attendance_average_away, Shale::Type::Integer |
#attendance_average_home ⇒ Integer
Returns the average home attendance
104 |
# File 'lib/mlb/attendance_record.rb', line 104 attribute :attendance_average_home, Shale::Type::Integer |
#attendance_average_ytd ⇒ Integer
Returns the average year-to-date attendance
120 |
# File 'lib/mlb/attendance_record.rb', line 120 attribute :attendance_average_ytd, Shale::Type::Integer |
#attendance_high ⇒ Integer
Returns the highest single-game attendance
128 |
# File 'lib/mlb/attendance_record.rb', line 128 attribute :attendance_high, Shale::Type::Integer |
#attendance_low ⇒ Integer
Returns the lowest single-game attendance
136 |
# File 'lib/mlb/attendance_record.rb', line 136 attribute :attendance_low, Shale::Type::Integer |
#attendance_total ⇒ Integer
Returns the total attendance
80 |
# File 'lib/mlb/attendance_record.rb', line 80 attribute :attendance_total, Shale::Type::Integer |
#attendance_total_away ⇒ Integer
Returns the total away attendance
96 |
# File 'lib/mlb/attendance_record.rb', line 96 attribute :attendance_total_away, Shale::Type::Integer |
#attendance_total_home ⇒ Integer
Returns the total home attendance
88 |
# File 'lib/mlb/attendance_record.rb', line 88 attribute :attendance_total_home, Shale::Type::Integer |
#games_away_total ⇒ Integer
Returns the total away games
72 |
# File 'lib/mlb/attendance_record.rb', line 72 attribute :games_away_total, Shale::Type::Integer |
#games_home_total ⇒ Integer
Returns the total home games
64 |
# File 'lib/mlb/attendance_record.rb', line 64 attribute :games_home_total, Shale::Type::Integer |
#games_total ⇒ Integer
Returns the total number of games
56 |
# File 'lib/mlb/attendance_record.rb', line 56 attribute :games_total, Shale::Type::Integer |
#openings_total ⇒ Integer
Returns the total number of openings
32 |
# File 'lib/mlb/attendance_record.rb', line 32 attribute :openings_total, Shale::Type::Integer |
#openings_total_away ⇒ Integer
Returns the total away openings
48 |
# File 'lib/mlb/attendance_record.rb', line 48 attribute :openings_total_away, Shale::Type::Integer |
#openings_total_home ⇒ Integer
Returns the total home openings
40 |
# File 'lib/mlb/attendance_record.rb', line 40 attribute :openings_total_home, Shale::Type::Integer |
#team ⇒ Team
Returns the team
24 |
# File 'lib/mlb/attendance_record.rb', line 24 attribute :team, Team |
#year ⇒ String
Returns the year of the attendance record
16 |
# File 'lib/mlb/attendance_record.rb', line 16 attribute :year, Shale::Type::String |