Method: Chef::Cookbook::SyntaxCheck#cache_key
- Defined in:
- lib/chef/cookbook/syntax_check.rb
#cache_key(file) ⇒ Object
91 92 93 94 |
# File 'lib/chef/cookbook/syntax_check.rb', line 91 def cache_key(file) @cache_keys ||= {} @cache_keys[file] ||= cache.generate_key(file, "chef-test") end |