ruby-cvs:23349
From: knu ruby-lang.org
Date: Sun, 20 Apr 2008 21:04:38 +0900 (JST)
Subject: [ruby-cvs:23349] Ruby:r16109 (ruby_1_8_7): * enumerator.c: Resolve the method every time an enumeration
knu 2008-04-20 21:04:37 +0900 (Sun, 20 Apr 2008)
New Revision: 16109
Modified files:
branches/ruby_1_8_7/ChangeLog
branches/ruby_1_8_7/enumerator.c
Log:
* enumerator.c: Resolve the method every time an enumeration
method is run, not once when the enumerator is initialized as it
was before, so that method_missing() and method (re)definition
afterwards are both in effect; pointed out in: [ruby-core:16441]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/enumerator.c?r1=16109&r2=16108&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/ChangeLog?r1=16109&r2=16108&diff_format=u