Sha256: c749d788dab3e779d3389ba1e8fb532c51f775fcd3ee39fac5af1394d8d94a2c
Contents?: true
Size: 346 Bytes
Versions: 66
Compression:
Stored size: 346 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] = YAML.load_file(path) # setting and using cache end end end end end
Version data entries
66 entries across 66 versions & 2 rubygems