= private = protected
rewind()
Positions strio to the beginning of input, resetting lineno to zero.
static VALUE strio_rewind(VALUE self) { struct StringIO *ptr = StringIO(self); ptr->pos = 0; ptr->lineno = 0; return INT2FIX(0); }