1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
matz ccf99b9ce6 * eval.c (ev_const_get): simplified using rb_const_get_fallback().
* eval.c (ev_const_defined): adopt to ev_const_get() using
  rb_const_defined_fallback().

* variable.c (rb_const_get_fallback): new function to implement
  constant search.

* variable.c (rb_const_defined_fallback): new function to
  implement constant definition check.

* variable.c (rb_const_get_0): adopt to new behavior.  constants
  are looked up in the order of: current class, super classes (but
  Object), lexically external classes/modules, and Object.

* variable.c (rb_const_defined_0): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-17 08:40:52 +00:00
..
csv
dbm
digest * eval.c (ev_const_get): simplified using rb_const_get_fallback(). 2006-02-17 08:40:52 +00:00
drb * eval.c (rb_mod_define_method): should save safe_level in the 2005-12-29 12:05:16 +00:00
erb
fileutils
gdbm
io/nonblock
logger
monitor
net
nkf
openssl * test/openssl/test_ssl.rb (test_parallel): call GC.start to close 2005-12-12 06:56:08 +00:00
optparse
ostruct
pathname * test/pathname/test_pathname.rb (test_kernel_open): use 2005-12-21 03:14:39 +00:00
readline
rinda (test_remote_array_and_hash): pseudo remote objects are protected 2005-12-11 13:17:55 +00:00
ripper
rss * lib/rss/rss.rb: added backward compatibility codes. 2005-11-25 03:54:29 +00:00
ruby * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330] 2006-02-17 02:21:39 +00:00
scanf
sdbm
soap * test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers): 2005-10-10 04:24:07 +00:00
socket * ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb, 2005-10-22 04:48:34 +00:00
stringio
strscan
testunit * test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers): 2005-10-10 04:24:07 +00:00
uri * test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers): 2005-10-10 04:24:07 +00:00
webrick * eval.c: unify ruby_class (for method definition) and ruby_cbase 2006-02-03 09:15:42 +00:00
wsdl
xmlrpc
xsd
yaml * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item): 2006-01-16 01:29:58 +00:00
zlib
inlinetest.rb
runner.rb
test_generator.rb
test_ipaddr.rb
test_pp.rb
test_prettyprint.rb
test_set.rb
test_shellwords.rb * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of 2005-11-30 04:50:04 +00:00
test_time.rb
test_tsort.rb