Class: MLB::DraftRound
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::DraftRound
- Defined in:
- lib/mlb/draft.rb
Overview
Represents a round in the draft
Instance Attribute Summary collapse
-
#picks ⇒ Array<DraftPick>
Returns the picks in this round.
-
#round ⇒ String
Returns the round number.
Instance Attribute Details
#picks ⇒ Array<DraftPick>
Returns the picks in this round
21 |
# File 'lib/mlb/draft.rb', line 21 attribute :picks, DraftPick, collection: true |
#round ⇒ String
Returns the round number
13 |
# File 'lib/mlb/draft.rb', line 13 attribute :round, Shale::Type::String |