From 46dabe2867eb397b16715304bf678228decb9b24 Mon Sep 17 00:00:00 2001 From: JSap0914 Date: Mon, 6 Jul 2026 00:45:52 +0900 Subject: [PATCH] Mark Array#[] as code in RDoc --- lib/error_highlight/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/error_highlight/base.rb b/lib/error_highlight/base.rb index e1a9c0e..4b36950 100644 --- a/lib/error_highlight/base.rb +++ b/lib/error_highlight/base.rb @@ -28,7 +28,7 @@ module ErrorHighlight # Currently, ErrorHighlight.spot only supports a single-line code fragment. # Therefore, if the return value is not nil, first_lineno and last_lineno will have # the same value. If the relevant code fragment spans multiple lines - # (e.g., Array#[] of ary[(newline)expr(newline)]), the method will return nil. + # (e.g., Array#[] of ary[(newline)expr(newline)]), the method will return nil. # This restriction may be removed in the future. def self.spot(obj, **opts) case obj