Sha256: a1af1e9e503a6375e6948cac42bff69586f4deba4672f258fc23789975aaa48c
Contents?: true
Size: 360 Bytes
Versions: 13
Compression:
Stored size: 360 Bytes
Contents
module Jets::Cfn # Caches the built template to reduce filesystem IO calls. class BuiltTemplate class << self @@cache = {} def get(path) if @@cache[path] @@cache[path] # using cache else @@cache[path] = Jets::Util::Yamler.load_file(path) # setting and using cache end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems