summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-13 19:17:19 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-13 19:17:19 +0000
commit3f2d575f8c2f9b503afe733010041a55fd8baf37 (patch)
tree756e6518c2b7a0592cf413f80bb684a07552a8b8
parent0f1b6e46dcded9b5241e92db86d69fa81a37fbe9 (diff)
* lib/delegate.rb: [DOC] Update SimpleDelegator example. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/delegate.rb5
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index dc725da..b522299 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jun 14 04:15:40 2015 Benoit Daloze <eregontp@gmail.com>
+
+ * lib/delegate.rb: [DOC] Update SimpleDelegator example. [ci skip]
+
Sat Jun 13 20:28:14 2015 NARUSE, Yui <naruse@ruby-lang.org>
* file.c (rb_stat_ino): get inode from the interval of struct st.
diff --git a/lib/delegate.rb b/lib/delegate.rb
index cbcfd9a..a326fa1 100644
--- a/lib/delegate.rb
+++ b/lib/delegate.rb
@@ -21,11 +21,6 @@
# Delegator:
#
# class SimpleDelegator < Delegator
-# def initialize(obj)
-# super # pass obj to Delegator constructor, required
-# @delegate_sd_obj = obj # store obj for future use
-# end
-#
# def __getobj__
# @delegate_sd_obj # return object we are delegating to, required
# end