Class: BigShift::Cli
- Inherits:
-
Object
- Object
- BigShift::Cli
- Defined in:
- lib/bigshift/cli.rb
Instance Method Summary collapse
-
#initialize(argv, options = {}) ⇒ Cli
constructor
A new instance of Cli.
- #run ⇒ Object
Constructor Details
#initialize(argv, options = {}) ⇒ Cli
Returns a new instance of Cli.
22 23 24 25 |
# File 'lib/bigshift/cli.rb', line 22 def initialize(argv, ={}) @argv = argv.dup @factory_factory = [:factory_factory] || Factory.method(:new) end |
Instance Method Details
#run ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/bigshift/cli.rb', line 27 def run setup unload transfer load cleanup nil end |