diff options
| author | Andy Waite <andyw8@users.noreply.github.com> | 2023-08-29 16:42:43 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-09-06 18:37:41 +0000 |
| commit | fdf7aad902ccc9e2f32e4b6b3e21fb68a8788d16 (patch) | |
| tree | cad230e27e923e4ccf9ca3a401e5e01237fda7c2 /lib | |
| parent | 12102d101af258d7a3e9695b736a189cd3658df1 (diff) | |
[ruby/yarp] Fix `Location#end_column`
https://github.com/ruby/yarp/commit/00e4711026
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/yarp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yarp.rb b/lib/yarp.rb index 0dab1515fc..769b149bca 100644 --- a/lib/yarp.rb +++ b/lib/yarp.rb @@ -95,7 +95,7 @@ module YARP # The column number in bytes where this location ends from the start of the # line. def end_column - source.column(end_offset - 1) + source.column(end_offset) end def deconstruct_keys(keys) |
