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.
1 parent d945ffd commit 46dabe2Copy full SHA for 46dabe2
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 <tt>ary[(newline)expr(newline)]</tt>), the method will return nil.
+ # (e.g., <tt>Array#[]</tt> 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