From: "mame (Yusuke Endoh)" <mame@...> Date: 2012-07-14T18:38:52+09:00 Subject: [ruby-dev:45957] [ruby-trunk - Bug #6657][Assigned] IRB.fail Issue #6657 has been updated by mame (Yusuke Endoh). Status changed from Open to Assigned ---------------------------------------- Bug #6657: IRB.fail https://bugs.ruby-lang.org/issues/6657#change-28097 Author: znz (Kazuhiro NISHIYAMA) Status: Assigned Priority: Normal Assignee: keiju (Keiju Ishitsuka) Category: lib Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-06-27 trunk 36240) [x86_64-linux] NotImplementError が残っていたので NotImplementedError に変更していて気づいたのですが、 以下のように IRB.fail が NoMethodError になるようです。 % ruby -v -r irb/output-method -e 'IRB::OutputMethod.new.print' ruby 2.0.0dev (2012-06-27 trunk 36240) [x86_64-linux] .../lib/ruby/2.0.0/irb/output-method.rb:22:in `print': private method `fail' called for IRB:Module (NoMethodError) from -e:1:in `<main>' 変更前は NameError でした。 % ruby -r irb/output-method -e 'IRB::OutputMethod.new.print' .../lib/ruby/2.0.0/irb/output-method.rb:22:in `print': uninitialized constant IRB::OutputMethod::NotImplementError (NameError) from -e:1:in `<main>' -- http://bugs.ruby-lang.org/