summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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