Project

General

Profile

Actions

Bug #2425

closed

Kernel#public_method の例外メッセージ

Added by wanabe (_ wanabe) over 12 years ago. Updated about 11 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 method fork' for class Object' (NameError) from -e:1:in '
=end

Actions

Also available in: Atom PDF