ios.tell â integer
Instance Public methods
Returns the current offset (in bytes) of ios.
1 2 3 4 | f = File . new ( "testfile" ) f.pos #=> 0 f.gets #=> "This is line one\n" f.pos #=> 17 |
Returns the current offset (in bytes) of ios.
1 2 3 4 | f = File . new ( "testfile" ) f.pos #=> 0 f.gets #=> "This is line one\n" f.pos #=> 17 |
Designed by : w10schools
service@w10schools.com
Please login to continue.