Class: Oscar::Command
Defined Under Namespace
Modules: Helpers Classes: Init, InitVMs
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(argv, env) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(argv, env) ⇒ Command
Returns a new instance of Command.
11 12 13 14 15 16 17 18 |
# File 'lib/oscar/command.rb', line 11 def initialize(argv, env) @argv = argv @env = env @cmd_name = 'oscar' split_argv register_subcommands end |
Instance Method Details
#execute ⇒ Object
20 21 22 |
# File 'lib/oscar/command.rb', line 20 def execute invoke_subcommand end |