Class: MLB::LeagueLeaderType

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/mlb/league_leader_type.rb

Overview

Represents a league leader statistic type

Instance Attribute Summary collapse

Instance Attribute Details

#display_nameString

Returns the display name for the leader type

Examples:

league_leader_type.display_name #=> "homeRuns"


15
# File 'lib/mlb/league_leader_type.rb', line 15

attribute :display_name, Shale::Type::String