Sha256: 54103763a6bf2d8e17a0bf77edb8c5a4bd525b462c0a5da04442e4b4b9556b92
Contents?: true
Size: 589 Bytes
Versions: 78
Compression:
Stored size: 589 Bytes
Contents
# Does not do full expansion, mainly a container that holds the definition and # standardizes it without camelizing it. class Jets::Resource class Associated extend Memoist attr_reader :definition def initialize(*definition) @definition = definition.flatten end def logical_id standardized.keys.first end def attributes standardized.values.first end def standardized standardizer = Standardizer.new(definition) standardizer.standarize(definition) # doesnt camelize keys yet end memoize :standardized end end
Version data entries
78 entries across 78 versions & 2 rubygems