Class: MLB::Job
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::Job
- Defined in:
- lib/mlb/job.rb
Overview
Represents a job/role (umpire, datacaster, etc.)
Instance Attribute Summary collapse
-
#jersey_number ⇒ String
Returns the jersey number.
-
#job ⇒ String
Returns the job title.
-
#job_id ⇒ String
Returns the job identifier.
-
#person ⇒ Player
Returns the person holding the job.
-
#title ⇒ String
Returns the title.
Instance Attribute Details
#jersey_number ⇒ String
Returns the jersey number
24 |
# File 'lib/mlb/job.rb', line 24 attribute :jersey_number, Shale::Type::String |
#job ⇒ String
Returns the job title
32 |
# File 'lib/mlb/job.rb', line 32 attribute :job, Shale::Type::String |
#job_id ⇒ String
Returns the job identifier
40 |
# File 'lib/mlb/job.rb', line 40 attribute :job_id, Shale::Type::String |
#person ⇒ Player
Returns the person holding the job
16 |
# File 'lib/mlb/job.rb', line 16 attribute :person, Player |
#title ⇒ String
Returns the title
48 |
# File 'lib/mlb/job.rb', line 48 attribute :title, Shale::Type::String |