1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):

rdoc documents C module methods as instance methods. a patch in
  [ruby-core:08536].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-08-30 09:39:47 +00:00
parent 2aaf22a9a1
commit 51525e12b8
2 changed files with 8 additions and 1 deletions

View file

@ -75,6 +75,12 @@ Tue Aug 22 19:21:00 2006 Minero Aoki <aamine@loveruby.net>
* lib/net/smtp.rb: parameter `to_addrs' might be an Array,
.flatten is required. [ruby-dev:29316]
Tue Aug 22 18:47:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):
rdoc documents C module methods as instance methods. a patch in
[ruby-core:08536].
Tue Aug 22 12:35:57 2006 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for

View file

@ -523,7 +523,8 @@ module RDoc
type = "singleton_method"
end
meth_obj = AnyMethod.new("", meth_name)
meth_obj.singleton = type == "singleton_method"
meth_obj.singleton =
%w{singleton_method module_function}.include?(type)
p_count = (Integer(param_count) rescue -1)