jonleighton / delegate_with_default
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README.textile | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
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.

