Project

General

Profile

Actions

Bug #3160

closed

rdoc registers wrong methods to Object class

Added by mame (Yusuke Endoh) almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2010-04-17 trunk 27376) [i686-linux]
Backport:
[ruby-core:29570]

Description

=begin
Hi, Eric Hodel

There seems to be a regression of rdoc. Many methods belongs to
Object methods mistakenly.
For example, OptionParser#accept is somehow registered to Object:

$ ../ruby-trunk-local/bin/ri -fbs -T Object#accept
= Object#accept

(from ruby core)

accept(*args, &blk)


Directs to accept specified class t. The argument string is passed to the
block in which it should be converted to the desired class.

t:
Argument class specifier, any object including Class.

pat:
Pattern for argument, defaults to t if it responds to match.

accept(t, pat, &block)

--
Yusuke ENDOH
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0