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 d9944bb..e9e9b3a 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 6b7422e..3cb3c85 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 2a0119d..93c9803 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