lib/stackup/yaml.rb
# Load YAML stream/string into a Ruby data structure.
#
# Supports CloudFormation extensions:
#
#   `!Ref blah` as a shortcut for `{ "Ref" => blah }`
#   `!Foo blah` as a shortcut for `{ "Fn::Foo" => blah }`
#
Load YAML stream/string into a Ruby data structure.


Load YAML stream / string into a Ruby data structure .
def load(yaml, filename = nil)
        tree = ::YAML.parse(yaml, filename)
        return tree unless tree
        CloudFormationToRuby.create.accept(tree)
      end
def load ( yaml , filename = nil ) tree = :: YAML . parse ( yaml , filename ) return tree unless tree CloudFormationToRuby . create . accept ( tree ) end
Load YAML stream/string into a Ruby data structure.
Load YAML stream / string into a Ruby data structure .
yaml
<not_specific>
filename
<not_specific>