Method: StringIO#lineno=
- Defined in:
- stringio.c
#lineno=(integer) ⇒ Integer
Manually sets the current line number to the given value. $. is updated only on the next read.
493 494 495 496 497 498 |
# File 'stringio.c', line 493 static VALUE strio_set_lineno(VALUE self, VALUE lineno) { StringIO(self)->lineno = NUM2LONG(lineno); return lineno; } |