Method: LonoCfn::Base#initialize
- Defined in:
- lib/lono_cfn/base.rb
#initialize(stack_name, options = {}) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/lono_cfn/base.rb', line 9 def initialize(stack_name, ={}) @stack_name = stack_name @options = @project_root = [:project_root] || '.' template_name = [:template] || @stack_name params_name = [:params] || template_name @template_path = get_source_path(template_name, :template) @params_path = get_source_path(params_name, :params) puts "Using template: #{@template_path}" puts "Using parameters: #{@params_path}" end |