Class: Player::Booking

Inherits:
Object
  • Object
show all
Defined in:
lib/fbtxt-pp/models/players.rb

Overview

(nested) booking record/struct

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#minuteObject (readonly)

add :reason or such later



91
92
93
# File 'lib/fbtxt-pp/models/players.rb', line 91

def minute
  @minute
end