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.
2 parents dc2dad6 + 6096a05 commit 8142fc0Copy full SHA for 8142fc0
1 file changed
lib/error_highlight/base.rb
@@ -28,7 +28,7 @@ module ErrorHighlight
28
# Currently, ErrorHighlight.spot only supports a single-line code fragment.
29
# Therefore, if the return value is not nil, first_lineno and last_lineno will have
30
# the same value. If the relevant code fragment spans multiple lines
31
- # (e.g., Array#[] of +ary[(newline)expr(newline)]+), the method will return nil.
+ # (e.g., Array#[] of <tt>ary[(newline)expr(newline)]</tt>), the method will return nil.
32
# This restriction may be removed in the future.
33
def self.spot(obj, **opts)
34
case obj
0 commit comments