ruby / rdoc

RDoc produces HTML and online documentation for Ruby projects.
https://ruby.github.io/rdoc/
Other
841 stars 438 forks source link

:stopdoc: directive produces Object reference #55

Closed thinkerbot closed 13 years ago

thinkerbot commented 13 years ago

The :stopdoc: directive produces a reference to Object as a class/module when used like this:

# :stopdoc:
class Example
  def method_name
  end
end

I generated the RDoc with:

rdoc example.rb

Incidentally, no reference to Object is generated unless the method is defined. This is ok:

# :stopdoc:
class Example
end

Using RDoc 3.8.

drbrain commented 13 years ago

Fixed!