Class: BBC::Cosmos::Tools::Commands::Base
- Inherits:
-
Thor
- Object
- Thor
- BBC::Cosmos::Tools::Commands::Base
- Includes:
- Thor::Actions
- Defined in:
- lib/bbc/cosmos/tools/commands/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(args = [], local_options = {}, config = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(args = [], local_options = {}, config = {}) ⇒ Base
Returns a new instance of Base.
22 23 24 25 |
# File 'lib/bbc/cosmos/tools/commands/base.rb', line 22 def initialize(args = [], = {}, config = {}) super(args, , config) setup_config end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
11 12 13 |
# File 'lib/bbc/cosmos/tools/commands/base.rb', line 11 def config @config end |