Class: Rgot::Cli
- Inherits:
-
Object
- Object
- Rgot::Cli
- Defined in:
- lib/rgot/cli.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Cli
constructor
A new instance of Cli.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Cli
Returns a new instance of Cli.
7 8 9 |
# File 'lib/rgot/cli.rb', line 7 def initialize(argv) @argv = argv end |
Instance Method Details
#run ⇒ Object
11 12 13 14 15 |
# File 'lib/rgot/cli.rb', line 11 def run opts = Rgot::M::Options.new parse_option(opts) process_start(opts) end |