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

Ignore dynamically added methods #661

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

nobu
Copy link
Member

@nobu nobu commented Oct 29, 2018

When adding a singleton method by rb_define_singleton_method in a method,
the class to be added is unknown at generating documents.
In that case,unknown.html is generated, its content is useless at all.

* lib/rdoc/parser/c.rb (RDoc::Parser::C#deduplicate_call_seq):
  skip dynamically added methods at runtime, because the class
  name is unknown and the defined methods are not accessible from
  that class.
@aycabta aycabta merged commit 4be0a09 into ruby:master Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants