mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constant
name signleton class. [Bug #3759], [ruby-dev:42154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d2da9597c3
commit
ccf4fbf78d
3 changed files with 8 additions and 1 deletions
|
@ -568,7 +568,7 @@ class RDoc::Parser::Ruby < RDoc::Parser
|
|||
case name = get_class_specification
|
||||
when "self", container.name
|
||||
parse_statements container, SINGLE
|
||||
else
|
||||
when /\A[A-Z]/
|
||||
other = RDoc::TopLevel.find_class_named name
|
||||
|
||||
unless other then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue