chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Mixin.const_missing
Const missing hook to look up deprecated constants defined with deprecate_constant. Emits a warning to the logger and returns the replacement constant. Will call super, most likely causing an exception for the missing constant, if +name+ is not found in the deprecated_constants collection.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/mixin/deprecation.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Mixin-const_missing-for-pr
# Commit to gitgit add lib/chef/mixin/deprecation.rbgit commit -m "better docs for Chef::Mixin.const_missing"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Mixin-const_missing-for-pr
hub pull-request
# Celebrate!