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.
9 10 11 |
# File 'lib/rgot/cli.rb', line 9 def initialize(argv) @argv = argv end |
Instance Method Details
#run ⇒ Object
13 14 15 16 17 |
# File 'lib/rgot/cli.rb', line 13 def run opts = Rgot::M::Options.new parse_option(opts) main_process(opts) end |