Skip to content

Mark Array#[] as code in RDoc#79

Open
JSap0914 wants to merge 1 commit into
ruby:masterfrom
JSap0914:fix-rdoc-array-link
Open

Mark Array#[] as code in RDoc#79
JSap0914 wants to merge 1 commit into
ruby:masterfrom
JSap0914:fix-rdoc-array-link

Conversation

@JSap0914

@JSap0914 JSap0914 commented Jul 5, 2026

Copy link
Copy Markdown

Fixes #38.

Summary

  • mark Array#[] as code in the ErrorHighlight.spot RDoc comment
  • preserve the existing multiline ary[(newline)expr(newline)] example while avoiding an unresolved RDoc method link

Verification

  • git diff --check HEAD~1 HEAD
  • Source proof: lib/error_highlight/base.rb:31 now renders Array#[] as <tt>Array#[]</tt> instead of an auto-linked method reference
  • Host Ruby/RDoc tools are not installed in this WSL environment (ruby, rdoc, and bundle were not found), so I could not run the RDoc build locally

Copilot AI review requested due to automatic review settings July 5, 2026 15:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Broken link

2 participants