Add examples for SimpleDelegator
|ruby -v:||2.0.0||Backport:||1.9.3: UNKNOWN, 2.0.0: UNKNOWN|
SimpleDelegator’s documentation lacked an example of its primary
feature, that it automatically sets the object passed to its initializer
as the delegated object.
- Add implicit setobj example
- Add example showing that super is available as a shortcut to getobj.
#2 Updated by Zachary Scott 10 months ago
- Status changed from Open to Closed
- % Done changed from 0 to 100