Class: Player::Booking
- Inherits:
-
Object
- Object
- Player::Booking
- Defined in:
- lib/fbtxt-pp/models/players.rb
Overview
(nested) booking record/struct
Instance Attribute Summary collapse
-
#minute ⇒ Object
readonly
add :reason or such later.
Instance Method Summary collapse
-
#initialize(minute: nil) ⇒ Booking
constructor
A new instance of Booking.
Constructor Details
#initialize(minute: nil) ⇒ Booking
Returns a new instance of Booking.
92 93 94 |
# File 'lib/fbtxt-pp/models/players.rb', line 92 def initialize( minute: nil ) @minute = minute end |
Instance Attribute Details
#minute ⇒ Object (readonly)
add :reason or such later
91 92 93 |
# File 'lib/fbtxt-pp/models/players.rb', line 91 def minute @minute end |