Project

General

Profile

Bug #3160

rdoc registers wrong methods to Object class

Added by mame (Yusuke Endoh) almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
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 mame@tsg.ne.jp
=end

History

#1

Updated by drbrain (Eric Hodel) almost 10 years ago

=begin
Fixed in rdoc trunk.

RDoc could not handle some syntax in optparse.rb
=end

#2

Updated by drbrain (Eric Hodel) almost 10 years ago

  • Status changed from Open to Closed

=begin

=end

Also available in: Atom PDF