mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/delegate.rb: document update from James Edward Gray II
<james@grayproductions.net>. [ruby-core:06027] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
74b0a54e38
commit
74e81f5ed7
3 changed files with 7 additions and 0 deletions
|
@ -195,6 +195,7 @@ end
|
|||
#
|
||||
class SimpleDelegator<Delegator
|
||||
|
||||
# Pass in the _obj_ you would like to delegate method calls to.
|
||||
def initialize(obj)
|
||||
super
|
||||
@_sd_obj = obj
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue