Project

General

Profile

Actions

Bug #3169

closed

RDoc crossref confused by instance and class methods having same name

Added by marcandre (Marc-Andre Lafortune) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2010-04-19 trunk 27394) [x86_64-darwin10.3.0]
Backport:
[ruby-core:29608]

Description

=begin
The documentation for the two methods below will both have a reference to X.foo (which appeared first). The "See X#foo" should reference to the instance method instead.

class X
# The class method. See X#foo
def self.foo
end

 # The instance method. See X.foo
 def foo
 end

end
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0