Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:stopdoc: directive produces Object reference #55

Closed
thinkerbot opened this issue Jul 21, 2011 · 1 comment
Closed

:stopdoc: directive produces Object reference #55

thinkerbot opened this issue Jul 21, 2011 · 1 comment

Comments

@thinkerbot
Copy link

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 added a commit that referenced this issue Jul 29, 2011
…documentation is suppressed. This could place methods in the wrong class or attach them to Object. Issue #55

Add RDoc::CodeObject#ignore to facilitate hiding of classes via stopdoc
@drbrain
Copy link
Member

drbrain commented Jul 29, 2011

Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants