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::Provides#provides?
Check whether this resource provides the resource_name DSL for the given node. TODO remove this when we stop checking unregistered things. FIXME: yard with @yield
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/mixin/provides.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Mixin--Provides-provides--for-pr
# Commit to gitgit add lib/chef/mixin/provides.rbgit commit -m "better docs for Chef::Mixin::Provides#provides?"
# 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--Provides-provides--for-pr
hub pull-request
# Celebrate!