Class: Game
- Inherits:
-
Object
- Object
- Game
- Defined in:
- lib/rora/model/game.rb
Instance Attribute Summary collapse
-
#dealer ⇒ Object
readonly
Returns the value of attribute dealer.
-
#players ⇒ Object
readonly
Returns the value of attribute players.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize ⇒ Game
constructor
A new instance of Game.
Constructor Details
#initialize ⇒ Game
Returns a new instance of Game.
4 5 6 |
# File 'lib/rora/model/game.rb', line 4 def initialize end |
Instance Attribute Details
#dealer ⇒ Object (readonly)
Returns the value of attribute dealer.
2 3 4 |
# File 'lib/rora/model/game.rb', line 2 def dealer @dealer end |
#players ⇒ Object (readonly)
Returns the value of attribute players.
2 3 4 |
# File 'lib/rora/model/game.rb', line 2 def players @players end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
2 3 4 |
# File 'lib/rora/model/game.rb', line 2 def table @table end |