Method: StudioGame::Game#initialize
- Defined in:
- lib/game_class.rb
#initialize(title) ⇒ Game
Returns a new instance of Game.
12 13 14 15 |
# File 'lib/game_class.rb', line 12 def initialize(title) @title = title @players = [] end |
Returns a new instance of Game.
12 13 14 15 |
# File 'lib/game_class.rb', line 12 def initialize(title) @title = title @players = [] end |