Project

General

Profile

Bug #2425

Kernel#public_method の例外メッセージ

Added by wanabe (_ wanabe) over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2009-12-03 trunk 25979) [i386-mingw32]
Backport:

Description

=begin
private メソッドの名前を Kernel#public_method に渡したときの例外メッセージが
undefined private method になっています。

$ ruby -ve 'public_method(:fork)'
ruby 1.9.2dev (2009-12-03 trunk 25979) [i386-mingw32]
-e:1:in public_method': undefined private methodfork' for class Object' (NameError)
from -e:1:in
'
=end

Also available in: Atom PDF