chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Resource::LWRPBase.from_superclass
Get the value from the superclass, if it responds, otherwise return +nil+. Since class instance variables are **not** inherited upon subclassing, this is a required check to ensure Chef pulls the +default_action+ and other DSL-y methods when extending LWRP::Base.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/resource/lwrp_base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Resource--LWRPBase-from_superclass-for-pr
# Commit to gitgit add lib/chef/resource/lwrp_base.rbgit commit -m "better docs for Chef::Resource::LWRPBase.from_superclass"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Resource--LWRPBase-from_superclass-for-pr
hub pull-request
# Celebrate!