Sha256: 7007dcbc0e3f6af7d620a07c0bee03011a7531940a9037fec9440ac798c41f91

Contents?: true

Size: 327 Bytes

Versions: 7

Compression:

Stored size: 327 Bytes

Contents

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

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

    def replacements
      @replacements || {}
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jets-0.8.18 lib/jets/resource/base.rb
jets-0.8.17 lib/jets/resource/base.rb
jets-0.8.15 lib/jets/resource/base.rb
jets-0.8.14 lib/jets/resource/base.rb
jets-0.8.13 lib/jets/resource/base.rb
jets-0.8.12 lib/jets/resource/base.rb
jets-0.8.11 lib/jets/resource/base.rb