Sha256: 0a3672b8d887075145e96c91b764477468b316d262b8272ad2c947998c81d152
Contents?: true
Size: 730 Bytes
Versions: 217
Compression:
Stored size: 730 Bytes
Contents
# Classes that inherit from this method should NOT define and override: # # logical_id # type # properties # attributes # # These are computed methods that derive their values from the resource definition itself. # Overriding these methods will remove the computed logical which handles things # like camelizing and replacements. # # The implementation of these methods are in `Jets::Resource`. 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
217 entries across 217 versions & 4 rubygems