Class: BBC::Cosmos::Tools::Commands::Base

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/bbc/cosmos/tools/commands/base.rb

Direct Known Subclasses

Component, Config, Release, Stack

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = [], local_options = {}, config = {})
  super(args, local_options, config)
  setup_config
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



11
12
13
# File 'lib/bbc/cosmos/tools/commands/base.rb', line 11

def config
  @config
end