Method: Stupidedi::Reader::FileInput#initialize
- Defined in:
- lib/stupidedi/reader/input/file_input.rb
#initialize(io, offset = 0, line = 1, column = 1, size = io.stat.size) ⇒ FileInput
Returns a new instance of FileInput.
18 19 20 21 |
# File 'lib/stupidedi/reader/input/file_input.rb', line 18 def initialize(io, offset = 0, line = 1, column = 1, size = io.stat.size) @io, @offset, @line, @column, @size = io, offset, line, column, size end |