Sha256: 31d2256d6ed8279f27f4e90a371fc3a003b76dd335fc49ceb63f03ddc9017058

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

module CloudShaped

  module FunctionMethods

    # Syntax sugar for Fn::Base64.
    #
    def fn_base64(arg)
      { "Fn::Base64" => arg }
    end

    # Syntax sugar for Fn::Join.
    #
    def fn_join(separator, lines)
      {
        "Fn::Join" => [
          separator, lines
        ]
      }
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cloud_shaped-1.0.0 lib/cloud_shaped/function_methods.rb
cloud_shaped-0.1.3 lib/cloud_shaped/function_methods.rb
cloud_shaped-0.1.2 lib/cloud_shaped/function_methods.rb
cloud_shaped-0.1.1 lib/cloud_shaped/function_methods.rb
cloud_shaped-0.1.0 lib/cloud_shaped/function_methods.rb
cloud_shaped-0.0.2 lib/cloud_shaped/function_methods.rb
cloud_shaped-0.0.1 lib/cloud_shaped/function_methods.rb