pos=

ios.pos = integer â integer
Instance Public methods

Seeks to the given position (in bytes) in ios. It is not guranteed that seeking to the right position when ios is textmode.

1
2
3
f = File.new("testfile")
f.pos = 17
f.gets   #=> "This is line two\n"
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.