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

Don't be as eager to invent classes to document

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
dave 2004-03-24 03:35:24 +00:00
parent fdef713db1
commit 91faa496b3
3 changed files with 17 additions and 4 deletions

View file

@ -340,8 +340,10 @@ module RDoc
meth_body, param_count, source_file = nil)
@stats.num_methods += 1
class_name = @known_classes[var_name]
return unless class_name
class_name = @known_classes[var_name] || var_name
class_obj = find_class(var_name, class_name)
if class_obj