Class: Shell::Run
- Inherits:
-
Object
- Object
- Shell::Run
- Defined in:
- lib/shell/shell.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Run
constructor
A new instance of Run.
Constructor Details
#initialize(argv) ⇒ Run
Returns a new instance of Run.
8 9 10 11 12 13 14 |
# File 'lib/shell/shell.rb', line 8 def initialize argv @argv = argv @options = Shell::Parser. @argv @command = Shell::Parser.get_command @argv @arguments = Shell::Parser.get_arguments @argv end |