/* * call-seq: * strio.lineno = integer -> integer * * Manually sets the current line number to the given value. * <code>$.</code> is updated only on the next read. */ static VALUE strio_set_lineno(self, lineno) VALUE self, lineno; { StringIO(self)->lineno = NUM2LONG(lineno); return lineno; }