Skip to content

Commit 7b3b1a1

Browse files
committed
[DOC] Use self in call-seq for Method#call
1 parent 6ae69e9 commit 7b3b1a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2644,11 +2644,11 @@ method_dup(VALUE self)
26442644

26452645
/*
26462646
* call-seq:
2647-
* meth.call(...) -> obj
2648-
* meth[...] -> obj
2649-
* method === obj -> result_of_method
2647+
* call(...) -> obj
2648+
* self[...] -> obj
2649+
* self === obj -> result_of_method
26502650
*
2651-
* Invokes the <i>meth</i> with the specified arguments, returning the
2651+
* Invokes +self+ with the specified arguments, returning the
26522652
* method's return value.
26532653
*
26542654
* m = 12.method("+")

0 commit comments

Comments
 (0)