Method: CloudFormula::JsonErb#stack_options

Defined in:
lib/cloudformula/json_erb.rb

#stack_options(b = new_toplevel) ⇒ Hash

Returns the @stack_options value set within the template.



28
29
30
31
# File 'lib/cloudformula/json_erb.rb', line 28

def stack_options(b = new_toplevel)
  result(b)
  b.eval('@stack_options') || {}
end