1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
eregon 2015-06-13 19:17:19 +00:00
parent 0f1b6e46dc
commit 3f2d575f8c
2 changed files with 4 additions and 5 deletions

View file

@ -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.

View file

@ -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