Class: Rounders::Commander
- Inherits:
-
Object
- Object
- Rounders::Commander
- Defined in:
- lib/rounders/commander.rb
Class Method Summary collapse
Class Method Details
.start(argv = ARGV) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/rounders/commander.rb', line 6 def start(argv = ARGV) if Rounders.global? require 'rounders/commands/global_command' Commands::GlobalCommand.start(argv) else require 'rounders/commands/local_command' Commands::LocalCommand.start(argv) end end |