Class | Chef::Formatters::Base |
In: |
lib/chef/formatters/base.rb
|
Parent: | EventDispatch::Base |
Base class that all formatters should inherit from.
err | [R] | |
out | [R] | |
output | [R] |
Generic callback for any attribute/library/lwrp/recipe file throwing an exception when loaded. Default behavior is to use CompileErrorInspector to print contextual info about the failure.
Generic callback for any attribute/library/lwrp/recipe file in a cookbook getting loaded. The per-filetype callbacks for file load are overriden 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.