Sha256: 32d455b0c6373ff23d967a663fd2ce22e69873377343f65f0d80311d20e5c81f

Contents?: true

Size: 352 Bytes

Versions: 9

Compression:

Stored size: 352 Bytes

Contents

class Jets::Resource
  class Base
    extend Memoist
    delegate :logical_id, :type, :properties, :attributes, :parameters, :outputs,
             to: :resource

    # Usually overridden
    def resource
      Jets::Resource.new(definition, replacements)
    end
    memoize :resource

    def replacements
      @replacements || {}
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jets-0.8.10 lib/jets/resource/base.rb
jets-0.8.9 lib/jets/resource/base.rb
jets-0.8.8 lib/jets/resource/base.rb
jets-0.8.6 lib/jets/resource/base.rb
jets-0.8.5 lib/jets/resource/base.rb
jets-0.8.4 lib/jets/resource/base.rb
jets-0.8.3 lib/jets/resource/base.rb
jets-0.8.2 lib/jets/resource/base.rb
jets-0.8.1 lib/jets/resource/base.rb