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

* variable.c (rb_const_get_0): skip ruby_wrapper in const search

to give it lower priority (just above Object).  need not to
  change rb_const_defined_0() since it's only a precedence matter;
  they are defined anyway.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-02-17 16:08:08 +00:00
parent 110a9f783d
commit d16c035975
4 changed files with 19 additions and 8 deletions

2
env.h
View file

@ -85,4 +85,6 @@ struct BLOCK {
#define BLOCK_LAMBDA 2
#define BLOCK_FROM_METHOD 4
RUBY_EXTERN VALUE ruby_wrapper;
#endif /* ENV_H */