Method: CARPS::StartGameInterface#initialize
- Defined in:
- lib/carps/service/start/interface.rb
#initialize(continuation, mailer, game_config, manager) ⇒ StartGameInterface
Returns a new instance of StartGameInterface.
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/carps/service/start/interface.rb', line 43 def initialize continuation, mailer, game_config, manager @manager = manager @manager.none @mailer = mailer @game_config = game_config @continuation = continuation super() add_command "games", "List existing games." add_command "load", "Load an existing game.", "NAME" end |