Method: StringIO#lineno=
- Defined in:
- ext/stringio/stringio.c
#lineno=(new_line_number) ⇒ Object
Sets the current line number in self to the given new_line_number; see Line Number.
660 661 662 663 664 665 |
# File 'ext/stringio/stringio.c', line 660 static VALUE strio_set_lineno(VALUE self, VALUE lineno) { StringIO(self)->lineno = NUM2LONG(lineno); return lineno; } |