diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2026-03-27 17:12:09 +0100 |
|---|---|---|
| committer | Benoit Daloze <eregontp@gmail.com> | 2026-03-27 18:26:27 +0100 |
| commit | 9f25970e50ba5a2d702597a38b5e8e271d282148 (patch) | |
| tree | 1550763c8de1307012918d2fe18c1dd580189307 /proc.c | |
| parent | 0ca6e5bbdbe16a39b2d288d2c2858a10a35265f1 (diff) | |
Revert "[Bug #21783] Fix documentation of {Method,UnboundMethod,Proc}#source_location"
This reverts commit 31c3bcb4818d9f62a6ad5c284f152abb40d552d0.
Diffstat (limited to 'proc.c')
| -rw-r--r-- | proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1545,9 +1545,9 @@ rb_iseq_location(const rb_iseq_t *iseq) * The returned Array contains: * (1) the Ruby source filename * (2) the line number where the definition starts - * (3) the position where the definition starts, in number of bytes from the start of the line + * (3) the column number where the definition starts * (4) the line number where the definition ends - * (5) the position where the definitions ends, in number of bytes from the start of the line + * (5) the column number where the definitions ends * * This method will return +nil+ if the Proc was not defined in Ruby (i.e. native). */ @@ -3206,9 +3206,9 @@ rb_method_entry_location(const rb_method_entry_t *me) * The returned Array contains: * (1) the Ruby source filename * (2) the line number where the definition starts - * (3) the position where the definition starts, in number of bytes from the start of the line + * (3) the column number where the definition starts * (4) the line number where the definition ends - * (5) the position where the definitions ends, in number of bytes from the start of the line + * (5) the column number where the definitions ends * * This method will return +nil+ if the method was not defined in Ruby (i.e. native). */ |
