鄭です。

ruby 1.1b[56] で、ENV.type を調べようとしたら、core dump してしまいました。
ruby-1.0-971225 では、"Object" となりました。ENV は、"Hash"ではないの
でしょうか?

 | % ./ruby -v
 | ruby 1.1b6(98/01/23) [sparc-solaris2.5.1]
 | % ./ruby sample/eval.rb 
 | ruby> STDOUT
 | #<IO:0xad6c0>
 | ruby> STDOUT.type
 | IO
 | ruby> STDOUT.id
 | 710336
 | ruby> ENV
 | ENV			あれ?
 | ruby> ENV.id
 | 716600
 | ruby> ENV.inspect
 | "ENV"		あれ?
 | ruby> Hash.new.inspect
 | "{}"
 | ruby> Hash.new.type
 | Hash
 | ruby> Hash.new.id
 | 686120
 | ruby> ENV.type
 | zsh: segmentation fault (core dumped)  ./ruby sample/eval.rb	あ!!!
 | % gdb ruby core
 | GDB is free software and you are welcome to distribute copies of it
 |  under certain conditions; type "show copying" to see the conditions.
 | There is absolutely no warranty for GDB; type "show warranty" for details.
 | GDB 4.16 (sparc-sun-solaris2.5.1), 
 | Copyright 1996 Free Software Foundation, Inc...
 | Core was generated by `./ruby sample/eval.rb'.
 | Program terminated with signal 11, Segmentation fault.
 | Reading symbols from /usr/lib/libdl.so.1...done.
 | Reading symbols from /opt/SUNWspro/lib/libm.so.1...done.
 | Reading symbols from /usr/lib/libc.so.1...done.
 | Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
 | #0  0x20c58 in rb_undefined (obj=716552, id=9427, argc=1882, argv=0xef800998, 
 |     call_status=0) at eval.c:3005
 | 3005        nargv[0] = INT2FIX(id);
 | (gdb) 


-- 
                         ┌─鄭  明毅───────────────────┐
                         └──tei / harmony.co.jp──tei / mirage.linc.or.jp─┘