Rdoc bug - alias shows up in public class methods, wrongly

I have a class method and instance method with the same name, and #to_s
is aliased to the instance method, but rdoc thinks #to_s is an alias
to the class method.

Here’s the code:

class Bug
# new
def initialize
end

# class method mkstr
def Bug.mkstr
  "class"
end


# method mkstr
def mkstr
  "instance"
end

alias to_s mkstr

end

#to_s is showing up in the class methods section!

rdoc --version:

RDoc Vgs: 2003/08/22 12:33:37 (1.72)

I think I’m using alias correctly:

[ensemble] /tmp $ irb -r bug.rb
irb(main):001:0> Bug.new.to_s
"instance"
irb(main):001:0> Bug.to_s
"Bug"

Cheers,
Sam