Project

General

Profile

Actions

Bug #3160

closed

rdoc registers wrong methods to Object class

Added by mame (Yusuke Endoh) over 14 years ago. Updated over 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 #1

Updated by drbrain (Eric Hodel) over 14 years ago

=begin
Fixed in rdoc trunk.

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

Actions #2

Updated by drbrain (Eric Hodel) over 14 years ago

  • Status changed from Open to Closed

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0