class Moonshot::YamlStackTemplate

Handles YAML formatted AWS template files.

Public Instance Methods

body() click to toggle source
# File lib/moonshot/yaml_stack_template.rb, line 7
def body
  template_body.to_yaml
end

Private Instance Methods

template_body() click to toggle source
# File lib/moonshot/yaml_stack_template.rb, line 13
def template_body
  @template_body ||= YAML.load_file(@filename)
end