Class: StackMaster::Commands::Diff
- Inherits:
-
Object
- Object
- StackMaster::Commands::Diff
- Includes:
- Commander::UI, StackMaster::Command
- Defined in:
- lib/stack_master/commands/diff.rb
Instance Method Summary collapse
-
#initialize(config, stack_definition, options = {}) ⇒ Diff
constructor
A new instance of Diff.
- #perform ⇒ Object
Methods included from StackMaster::Command
Constructor Details
#initialize(config, stack_definition, options = {}) ⇒ Diff
Returns a new instance of Diff.
7 8 9 10 |
# File 'lib/stack_master/commands/diff.rb', line 7 def initialize(config, stack_definition, = {}) @config = config @stack_definition = stack_definition end |
Instance Method Details
#perform ⇒ Object
12 13 14 |
# File 'lib/stack_master/commands/diff.rb', line 12 def perform StackMaster::StackDiffer.new(proposed_stack, stack).output_diff end |