From: "calebthompson (Caleb Thompson)" Date: 2013-07-10T03:41:25+09:00 Subject: [ruby-core:55883] [ruby-trunk - Bug #8615][Open] Add examples for SimpleDelegator Issue #8615 has been reported by calebthompson (Caleb Thompson). ---------------------------------------- Bug #8615: Add examples for SimpleDelegator https://bugs.ruby-lang.org/issues/8615 Author: calebthompson (Caleb Thompson) Status: Open Priority: Normal Assignee: drbrain (Eric Hodel) 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__. -- http://bugs.ruby-lang.org/