Caches the built template to reduce filesystem IO calls.
{}
6 7 8 9 10 11 12
# File 'lib/jets/cfn/built_template.rb', line 6 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