Skip to content

Remove RDoc::Comment#{remove_private,extract_call_seq}#1706

Open
Earlopain wants to merge 1 commit into
ruby:masterfrom
Earlopain:comment-remove-private
Open

Remove RDoc::Comment#{remove_private,extract_call_seq}#1706
Earlopain wants to merge 1 commit into
ruby:masterfrom
Earlopain:comment-remove-private

Conversation

@Earlopain
Copy link
Copy Markdown
Contributor

It was changed in b92986a and can now be removed entirely

Copilot AI review requested due to automatic review settings May 11, 2026 14:31
@Earlopain Earlopain requested a deployment to fork-preview-protection May 11, 2026 14:31 — with GitHub Actions Waiting
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the legacy RDoc::Comment#remove_private instance method and its unit tests now that private-section stripping is handled elsewhere (e.g., via RDoc::Comment.parse / parser behavior) following prior internal changes.

Changes:

  • Deleted RDoc::Comment#remove_private from lib/rdoc/comment.rb.
  • Removed the corresponding remove_private test cases from test/rdoc/rdoc_comment_test.rb.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/rdoc/rdoc_comment_test.rb Removes tests that only exercised the deleted RDoc::Comment#remove_private API.
lib/rdoc/comment.rb Removes the now-obsolete remove_private instance method and its inline documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

It was changed in ruby@b92986a and can now be removed entirely
@Earlopain Earlopain force-pushed the comment-remove-private branch from 858d997 to cdbdad7 Compare May 11, 2026 14:40
@Earlopain Earlopain requested a deployment to fork-preview-protection May 11, 2026 14:41 — with GitHub Actions Waiting
@Earlopain Earlopain changed the title Remove RDoc::Comment#remove_private Remove RDoc::Comment#{remove_private,extract_call_seq} May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants