summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d9944bb32b..e9e9b3ae18 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 6b7422ed62..3cb3c859e1 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 2a0119d082..93c9803a18 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