Sha256: 86040b3649875bd6d794c816bc801fa8a35494793b19b4c9305112ad5c4607cd

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

require "aws/cfn/yats/base"
require 'yaml'

module Aws
  module Cfn
    module Yats

      class Json2Yaml < Base

        def pprint_cfn_template(tpl)

          yml = YAML::dump(tpl)

          puts yml
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aws-cfn-yats-0.0.4 lib/aws/cfn/yats/json2yaml.rb