Class: CurrentGame

Inherits:
Object
  • Object
show all
Defined in:
lib/current_game.rb

Class Method Summary collapse

Instance Method Summary collapse

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

.gameObject



6
7
8
# File 'lib/current_game.rb', line 6

def self.game
  @@game
end