Method: StringIO#pos
- Defined in:
- stringio.c
#pos ⇒ Integer #tell ⇒ Integer
Returns the current offset (in bytes) of strio.
534 535 536 537 538 |
# File 'stringio.c', line 534 static VALUE strio_get_pos(VALUE self) { return LONG2NUM(StringIO(self)->pos); } |