Class: IO::WithDummyPos
- Inherits:
-
Object
- Object
- IO::WithDummyPos
- Defined in:
- lib/io/with_dummy_pos.rb
Overview
Class Method Summary collapse
Class Method Details
.new(io) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/io/with_dummy_pos.rb', line 7 def self.new(io) def io.pos 0 end return io end |