chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Formatters::Base#file_loaded
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.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/formatters/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Formatters--Base-file_loaded-for-pr
# Commit to gitgit add lib/chef/formatters/base.rbgit commit -m "better docs for Chef::Formatters::Base#file_loaded"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Formatters--Base-file_loaded-for-pr
hub pull-request
# Celebrate!