Skip to content

Commit d026549

Browse files
[DOC] Fix #seek link (#174)
Method #seek deserves (and will get) documentation independent of that in class IO. Meanwhile, the link should go someplace sensible and useful.
1 parent 67b5d88 commit d026549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/stringio/stringio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,9 +883,9 @@ strio_rewind(VALUE self)
883883
* call-seq:
884884
* seek(offset, whence = SEEK_SET) -> 0
885885
*
886-
* Sets the current position to the given integer +offset+ (in bytes),
886+
* Sets the position to the given integer +offset+ (in bytes),
887887
* with respect to a given constant +whence+;
888-
* see {Position}[rdoc-ref:IO@Position].
888+
* see {IO#seek}[https://docs.ruby-lang.org/en/master/IO.html#method-i-seek].
889889
*/
890890
static VALUE
891891
strio_seek(int argc, VALUE *argv, VALUE self)

0 commit comments

Comments
 (0)