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

Add some :nodoc: to SyntaxErrorProxy and friends #49024

Merged
merged 1 commit into from Aug 24, 2023

Conversation

byroot
Copy link
Member

@byroot byroot commented Aug 24, 2023

Ref: #48957 (comment)

None of this is public API.

@@ -12,15 +12,15 @@ def backtrace
parse_message_for_trace + super
end

class BacktraceLocation < Struct.new(:path, :lineno, :to_s)
class BacktraceLocation < Struct.new(:path, :lineno, :to_s) # :nodoc:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one surprises me a bit because SyntaxErrorProxy already has :nodoc:, but somehow the nested classes are documented: https://edgeapi.rubyonrails.org/classes/ActiveSupport/SyntaxErrorProxy/BacktraceLocation.html

@byroot byroot merged commit a6f8624 into rails:main Aug 24, 2023
4 checks passed
@byroot byroot deleted the nodoc-source-map branch August 24, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant