summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-28 14:23:24 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-28 14:23:24 +0000
commita1c502420b5a9082dea0c6807671efec24b55702 (patch)
treebf1b08cd716266aeeda5c04bc449248ff764e25f
parent67413ba82788aace5c81a89c1eb03a22b3787b79 (diff)
downloadruby-a1c502420b5a9082dea0c6807671efec24b55702.tar.gz
ruby-a1c502420b5a9082dea0c6807671efec24b55702.tar.xz
ruby-a1c502420b5a9082dea0c6807671efec24b55702.zip
* lib/delegate.rb: document update from James Edward Gray II
<james@grayproductions.net>. [ruby-core:06027] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/.document1
-rw-r--r--lib/delegate.rb1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d9944bb32..e9e9b3ae1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 28 23:09:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * lib/delegate.rb: document update from James Edward Gray II
+ <james@grayproductions.net>. [ruby-core:06027]
+
Wed Sep 28 15:14:19 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
diff --git a/lib/.document b/lib/.document
index 6b7422ed6..3cb3c859e 100644
--- a/lib/.document
+++ b/lib/.document
@@ -18,6 +18,7 @@ erb.rb
English.rb
fileutils.rb
find.rb
+forwardable.rb
generator.rb
logger.rb
matrix.rb
diff --git a/lib/delegate.rb b/lib/delegate.rb
index 2a0119d08..93c9803a1 100644
--- a/lib/delegate.rb
+++ b/lib/delegate.rb
@@ -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