Class: Game

Inherits:
Object
  • Object
show all
Defined in:
lib/rora/model/game.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGame

Returns a new instance of Game.



4
5
6
# File 'lib/rora/model/game.rb', line 4

def initialize

end

Instance Attribute Details

#dealerObject (readonly)

Returns the value of attribute dealer.



2
3
4
# File 'lib/rora/model/game.rb', line 2

def dealer
  @dealer
end

#playersObject (readonly)

Returns the value of attribute players.



2
3
4
# File 'lib/rora/model/game.rb', line 2

def players
  @players
end

#tableObject (readonly)

Returns the value of attribute table.



2
3
4
# File 'lib/rora/model/game.rb', line 2

def table
  @table
end