Class: AcpcPokerTypes::Seat

Inherits:
Integer
  • Object
show all
Includes:
SeatLike
Defined in:
lib/acpc_poker_types/seat.rb

Instance Method Summary collapse

Methods included from SeatLike

#position_relative_to, #seat_from_relative_position, #seat_in_bounds?

Constructor Details

#initialize(seat) ⇒ Seat

Returns a new instance of Seat.



80
81
82
83
# File 'lib/acpc_poker_types/seat.rb', line 80

def initialize(seat)
  @seat = seat.to_i
  super @seat
end