Method: Chef::Formatters::Base#file_loaded
- Defined in:
- lib/chef/formatters/base.rb
#file_loaded(path) ⇒ Object
Generic callback for any attribute/library/lwrp/recipe file in a cookbook getting loaded. The per-filetype callbacks for file load are overridden so that they call this instead. This means that a subclass of Formatters::Base can implement #file_loaded to do the same thing for every kind of file that Chef loads from a recipe instead of implementing all the per-filetype callbacks.
149 |
# File 'lib/chef/formatters/base.rb', line 149 def file_loaded(path); end |