Project

General

Profile

Actions

Bug #2425

closed

Kernel#public_method の例外メッセージ

Added by wanabe (_ wanabe) about 15 years ago. Updated over 13 years ago.

Status:
Closed
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

Like0
Like0Like0