class IO::WithDummyPos
{IO} with {IO#pos} returning invalid value.
Public Class Methods
new(io)
click to toggle source
# File lib/io/with_dummy_pos.rb, line 7 def self.new(io) def io.pos 0 end return io end