diff options
| author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-07-06 13:26:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-06 13:26:26 -0400 |
| commit | 06c2d3e0a04600981e147ca8ee32b6e4048c48ff (patch) | |
| tree | ccfc5ae4ab065777f0029a5493ab0cf17c2b18c4 /lib | |
| parent | 055f7219bc4ace48270b09630626305784d5a87e (diff) | |
Resync YARP (#8036)
It got out of sync again. After this re-sync, it should happen
cherry-picking automatically.
Notes
Notes:
Merged-By: jemmaissroff
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/yarp.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/yarp.rb b/lib/yarp.rb index 01c0d5ec71..d74ad47db3 100644 --- a/lib/yarp.rb +++ b/lib/yarp.rb @@ -44,6 +44,10 @@ module YARP @length = length end + def inspect + "#<YARP::Location @start_offset=#{@start_offset} @length=#{@length}>" + end + # The source code that this location represents. def slice source.slice(start_offset, length) |
