From: Yusuke Endoh Date: 2010-04-17T13:03:23+09:00 Subject: [ruby-core:29570] [Bug #3160] rdoc registers wrong methods to Object class Bug #3160: rdoc registers wrong methods to Object class http://redmine.ruby-lang.org/issues/show/3160 Author: Yusuke Endoh Status: Open, Priority: Normal Assigned to: Eric Hodel, Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2010-04-17 trunk 27376) [i686-linux] 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 ---------------------------------------- http://redmine.ruby-lang.org