* eval.c (rb_obj_instance_eval): RDoc description updated. a
patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>. [ruby-core:07381] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d16c035975
commit
b070abfc20
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 18 21:16:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* eval.c (rb_obj_instance_eval): RDoc description updated. a
|
||||||
|
patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>.
|
||||||
|
[ruby-core:07381]
|
||||||
|
|
||||||
Sat Feb 18 01:01:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Sat Feb 18 01:01:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* variable.c (rb_const_get_0): skip ruby_wrapper in const search
|
* variable.c (rb_const_get_0): skip ruby_wrapper in const search
|
||||||
|
5
eval.c
5
eval.c
@ -6497,7 +6497,10 @@ specific_eval(int argc, VALUE *argv, VALUE klass, VALUE self)
|
|||||||
* instance variables. In the version of <code>instance_eval</code>
|
* instance variables. In the version of <code>instance_eval</code>
|
||||||
* that takes a +String+, the optional second and third
|
* that takes a +String+, the optional second and third
|
||||||
* parameters supply a filename and starting line number that are used
|
* parameters supply a filename and starting line number that are used
|
||||||
* when reporting compilation errors.
|
* when reporting compilation errors. Note that, if a Proc that is
|
||||||
|
* converted from a Method object is given as the block,
|
||||||
|
* <code>instance_eval</code> will not change the context of this
|
||||||
|
* block and it will be evaluated in Method object's original context.
|
||||||
*
|
*
|
||||||
* class Klass
|
* class Klass
|
||||||
* def initialize
|
* def initialize
|
||||||
|
@ -1304,7 +1304,7 @@ rb_const_get_0(VALUE klass, ID id, int exclude, int recurse, NODE *fallback)
|
|||||||
if (recurse) {
|
if (recurse) {
|
||||||
if (!n_retry) {
|
if (!n_retry) {
|
||||||
n_retry = 1;
|
n_retry = 1;
|
||||||
tmp = ruby_wrapper ? ruby_wrapper : rb_cObject;
|
tmp = rb_cObject;
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
if (fallback) {
|
if (fallback) {
|
||||||
@ -1471,7 +1471,7 @@ rb_const_defined_0(VALUE klass, ID id, int exclude, int recurse, NODE* fallback)
|
|||||||
if (recurse) {
|
if (recurse) {
|
||||||
if (!n_retry) {
|
if (!n_retry) {
|
||||||
n_retry = 1;
|
n_retry = 1;
|
||||||
tmp = ruby_wrapper ? ruby_wrapper : rb_cObject;
|
tmp = rb_cObject;
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
if (fallback) {
|
if (fallback) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user