class Cfnlego::CloudFormation
Constants
- TEMPLATE
Attributes
Public Class Methods
Source
# File lib/cfndsl/cfnlego/cloudformation.rb, line 11 def initialize(resources) @description = 'auto generated cloudformation cfndsl template' @resources = resources end
Public Instance Methods
Source
# File lib/cfndsl/cfnlego/cloudformation.rb, line 16 def render erb = ERB.new(File.read(TEMPLATE), trim_mode: '-') erb.result(binding) end