Class: CurrentGame
- Inherits:
-
Object
- Object
- CurrentGame
- Defined in:
- lib/current_game.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(game) ⇒ CurrentGame
constructor
A new instance of CurrentGame.
Constructor Details
#initialize(game) ⇒ CurrentGame
Returns a new instance of CurrentGame.
2 3 4 |
# File 'lib/current_game.rb', line 2 def initialize(game) @@game = game end |
Class Method Details
.game ⇒ Object
6 7 8 |
# File 'lib/current_game.rb', line 6 def self.game @@game end |