Class: StackMaster::Commands::Compile

Inherits:
Object
  • Object
show all
Includes:
Commander::UI, StackMaster::Command
Defined in:
lib/stack_master/commands/compile.rb

Instance Method Summary collapse

Methods included from StackMaster::Command

included, #success?

Constructor Details

#initialize(config, stack_definition, options = {}) ⇒ Compile

Returns a new instance of Compile.



7
8
9
10
# File 'lib/stack_master/commands/compile.rb', line 7

def initialize(config, stack_definition, options = {})
  @config = config
  @stack_definition = stack_definition
end

Instance Method Details

#performObject



12
13
14
# File 'lib/stack_master/commands/compile.rb', line 12

def perform
  puts(proposed_stack.template_body)
end