Class: StackMaster::Commands::ListStacks
- Inherits:
-
Object
- Object
- StackMaster::Commands::ListStacks
- Includes:
- Commander::UI, StackMaster::Command
- Defined in:
- lib/stack_master/commands/list_stacks.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ ListStacks
constructor
A new instance of ListStacks.
- #perform ⇒ Object
Methods included from StackMaster::Command
Constructor Details
#initialize(config) ⇒ ListStacks
Returns a new instance of ListStacks.
7 8 9 |
# File 'lib/stack_master/commands/list_stacks.rb', line 7 def initialize(config) @config = config end |
Instance Method Details
#perform ⇒ Object
11 12 13 |
# File 'lib/stack_master/commands/list_stacks.rb', line 11 def perform tp @config.stacks, :region, :stack_name end |