Class: MLB::DraftPick
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::DraftPick
- Defined in:
- lib/mlb/draft_pick.rb
Overview
Represents a draft pick
Instance Attribute Summary collapse
-
#blurb ⇒ String
Returns the scouting report blurb.
-
#person ⇒ Player
Returns the drafted player.
-
#pick_number ⇒ Integer
Returns the overall pick number.
-
#pick_round ⇒ String
Returns the round number.
-
#pick_value ⇒ String
Returns the pick slot value.
-
#rank ⇒ Integer
Returns the prospect rank.
-
#round_pick_number ⇒ Integer
Returns the pick number within the round.
-
#school ⇒ DraftSchool
Returns the player’s school.
-
#signing_bonus ⇒ String
Returns the signing bonus.
-
#team ⇒ Team
Returns the drafting team.
Instance Attribute Details
#blurb ⇒ String
Returns the scouting report blurb
140 |
# File 'lib/mlb/draft_pick.rb', line 140 attribute :blurb, Shale::Type::String |
#person ⇒ Player
Returns the drafted player
116 |
# File 'lib/mlb/draft_pick.rb', line 116 attribute :person, Player |
#pick_number ⇒ Integer
Returns the overall pick number
76 |
# File 'lib/mlb/draft_pick.rb', line 76 attribute :pick_number, Shale::Type::Integer |
#pick_round ⇒ String
Returns the round number
68 |
# File 'lib/mlb/draft_pick.rb', line 68 attribute :pick_round, Shale::Type::String |
#pick_value ⇒ String
Returns the pick slot value
100 |
# File 'lib/mlb/draft_pick.rb', line 100 attribute :pick_value, Shale::Type::String |
#rank ⇒ Integer
Returns the prospect rank
92 |
# File 'lib/mlb/draft_pick.rb', line 92 attribute :rank, Shale::Type::Integer |
#round_pick_number ⇒ Integer
Returns the pick number within the round
84 |
# File 'lib/mlb/draft_pick.rb', line 84 attribute :round_pick_number, Shale::Type::Integer |
#school ⇒ DraftSchool
Returns the player’s school
132 |
# File 'lib/mlb/draft_pick.rb', line 132 attribute :school, DraftSchool |
#signing_bonus ⇒ String
Returns the signing bonus
108 |
# File 'lib/mlb/draft_pick.rb', line 108 attribute :signing_bonus, Shale::Type::String |