Rails plugin to add a :default option to the delegate method
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
tasks
test
MIT-LICENSE
README.textile
Rakefile
init.rb
install.rb
uninstall.rb

README.textile

Delegate with Default

This Rails plugin redefines the Module#delegate method to allow a :default option.
If the object we are delegating to is nil, the default will be returned instead of an
exception being raised. See the blog post.