summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2026-03-27 17:12:09 +0100
committerBenoit Daloze <eregontp@gmail.com>2026-03-27 18:26:27 +0100
commit9f25970e50ba5a2d702597a38b5e8e271d282148 (patch)
tree1550763c8de1307012918d2fe18c1dd580189307 /proc.c
parent0ca6e5bbdbe16a39b2d288d2c2858a10a35265f1 (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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/proc.c b/proc.c
index f1fc978060..09b3847d2d 100644
--- a/proc.c
+++ b/proc.c
@@ -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).
*/