From: Shyouhei Urabe Date: 2008-10-06T19:19:23+09:00 Subject: [ruby-dev:36672] [Bug #616] instance_eval and Module#to_s Bug #616: instance_eval and Module#to_s http://redmine.ruby-lang.org/issues/show/616 起票者: Shyouhei Urabe ステータス: Open, 優先度: Normal 担当者: Yukihiro Matsumoto, カテゴリ: core 以下のように、クラスの名前が1.8と違うことがあるようです。 % for i in trunk branches/ruby_1_8; do ~/target/$i/bin/ruby -ve 'instance_eval{p((C = Class.new).to_s)}'; done ruby 1.9.0 (2008-10-06 revision 17576) [x86_64-linux] "#" ruby 1.8.7 (2008-09-23 revision 17572) [x86_64-linux] "C" ---------------------------------------- http://redmine.ruby-lang.org