Sha256: 537f36c51e90468b0458ec5466b03ca37cf062bd8af154de08a46ff2a404849a

Contents?: true

Size: 498 Bytes

Versions: 16

Compression:

Stored size: 498 Bytes

Contents

class Jets::Cfn::Builders
  class FunctionBuilder < BaseChildBuilder
    # compose is an interface method for Interface module
    def compose
      add_common_parameters
      add_functions
    end

    # For function stacks, ensure there's a _function.yml at the end of the
    # template_path name for easy identification.
    def template_path
      path = super
      unless path.include?("function.yml")
        path = path.sub(".yml", "_function.yml")
      end
      path
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
jets-0.8.18 lib/jets/cfn/builders/function_builder.rb
jets-0.8.17 lib/jets/cfn/builders/function_builder.rb
jets-0.8.15 lib/jets/cfn/builders/function_builder.rb
jets-0.8.14 lib/jets/cfn/builders/function_builder.rb
jets-0.8.13 lib/jets/cfn/builders/function_builder.rb
jets-0.8.12 lib/jets/cfn/builders/function_builder.rb
jets-0.8.11 lib/jets/cfn/builders/function_builder.rb
jets-0.8.10 lib/jets/cfn/builders/function_builder.rb
jets-0.8.9 lib/jets/cfn/builders/function_builder.rb
jets-0.8.8 lib/jets/cfn/builders/function_builder.rb
jets-0.8.6 lib/jets/cfn/builders/function_builder.rb
jets-0.8.5 lib/jets/cfn/builders/function_builder.rb
jets-0.8.4 lib/jets/cfn/builders/function_builder.rb
jets-0.8.3 lib/jets/cfn/builders/function_builder.rb
jets-0.8.2 lib/jets/cfn/builders/function_builder.rb
jets-0.8.1 lib/jets/cfn/builders/function_builder.rb