We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
private :new
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
I'm not sure if this is a bug report or a feature request; I think it has worked in the past but I'm not sure.
Given an input foo.rb:
foo.rb
# Example Foo class should not document private new class Foo class << self private :new end # This should not be documented def initialize(...) end end
The generated documentation should not document the new class method.
new
I can work around this by adding # :nodoc:, but it feels like something that should be detected by the parser.
# :nodoc:
I'm updating a gem to be Ruby 3.2+, so if there's a better way to mark a private new in those versions that rdoc does detect, I can use that instead.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm not sure if this is a bug report or a feature request; I think it has worked in the past but I'm not sure.
Given an input
foo.rb
:The generated documentation should not document the
new
class method.I can work around this by adding
# :nodoc:
, but it feels like something that should be detected by the parser.I'm updating a gem to be Ruby 3.2+, so if there's a better way to mark a private
new
in those versions that rdoc does detect, I can use that instead.The text was updated successfully, but these errors were encountered: