Class: Gemstash::CLI::Base
- Inherits:
-
Object
- Object
- Gemstash::CLI::Base
- Includes:
- Env::Helper
- Defined in:
- lib/gemstash/cli/base.rb
Overview
Base class for common functionality for CLI tasks.
Instance Method Summary collapse
-
#initialize(cli, *args) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(cli, *args) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 |
# File 'lib/gemstash/cli/base.rb', line 9 def initialize(cli, *args) Gemstash::Env.current = Gemstash::Env.new @cli = cli @args = args end |