1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
yugui 3a5c0bbcb5 * test/ruby/test_metaclass.rb: new test case for metaclass hierarchy.
* class.c (make_metametaclass): new function. extracted from
  rb_make_metaclass.

* class.c (rb_make_metaclass): uses make_metametaclass when called for a
  metaclass.

* class.c (rb_singleton_class): creates a meta^(n+2)-class in
  addition to a meta^(n+1)-class when called for a meta^(n)-class.
  This is because the returned meta^(n+1) class must acts as an instance of 
  Class, metaclass of Class, ..., meta^(n+1)-class of Class,
  Module, metaclass of Module, ..., meta^(n+1)-class of Module,
  Object, metaclass of Object, ..., meta^(n+2)-class of Object,
  BasicObject, metaclass of BasicObject, ..., meta^(n+2)-class of
  and BasicObject even when Class, Module, Object or BasicObject has
  not have its meta^(i)-class yet.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 06:23:43 +00:00
..
base64
bigdecimal
cgi fix for 1.8's 2008-12-05 12:09:49 +00:00
csv
date
dbm
digest
drb
erb
etc
fileutils
gdbm
iconv
io/nonblock
json
logger
matrix
minitest Imported minitest 1.3.2 r4503. 2008-12-13 00:22:31 +00:00
monitor
net
nkf
openssl * ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock): 2008-12-04 07:21:10 +00:00
optparse
ostruct
pathname
rdoc
readline * ext/readline/readline.c 2008-12-12 16:13:11 +00:00
rexml
rinda
ripper
rss * lib/rss/maker.rb, lib/rss/maker/0.9.rb, lib/rss/maker/base.rb: 2008-12-11 12:06:26 +00:00
ruby * test/ruby/test_metaclass.rb: new test case for metaclass hierarchy. 2008-12-15 06:23:43 +00:00
rubygems
scanf
sdbm
socket
stringio
strscan
uri
webrick
win32ole
xmlrpc
yaml
zlib
inlinetest.rb
runner.rb
test_delegate.rb
test_ipaddr.rb
test_open3.rb * lib/open3.rb (Open3.pipeline_start): return an array of threads if a 2008-12-10 17:24:42 +00:00
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb new file. 2008-12-14 03:52:13 +00:00
test_set.rb
test_shellwords.rb
test_singleton.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tsort.rb