Module: Lono::Conventions

Included in:
Lono::Cfn::Base, Lono::Configure::Base, Param::Generator
Defined in:
lib/lono/conventions.rb

Instance Method Summary collapse

Instance Method Details

#template_param_convention(options) ⇒ Object

Think can make this a module, but need to figure out how it fits with lono cfn



4
5
6
7
8
9
# File 'lib/lono/conventions.rb', line 4

def template_param_convention(options)
  options = options.deep_symbolize_keys
  template = options[:template] || @blueprint
  param = options[:param] || template || @blueprint
  [template, param]
end