Issue #8615 has been updated by drbrain (Eric Hodel).

Assignee changed from drbrain (Eric Hodel) to zzak (Zachary Scott)

reassigning to zzak as he has more bandwidth for doc commits.
----------------------------------------
Bug #8615: Add examples for SimpleDelegator
https://bugs.ruby-lang.org/issues/8615#change-40390

Author: calebthompson (Caleb Thompson)
Status: Open
Priority: Normal
Assignee: zzak (Zachary Scott)
Category: doc
Target version: current: 2.1.0
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__.<method with same name>


-- 
http://bugs.ruby-lang.org/