Class: MLB::StatType

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

Overview

Represents a stat type

Instance Attribute Summary collapse

Instance Attribute Details

#display_nameString

Returns the display name for the stat type

Examples:

stat_type.display_name #=> "season"

Returns:

  • (String)

    the display name for the stat type



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

attribute :display_name, Shale::Type::String