class CSV::Parser::UnoptimizedStringIO
- Parent:
- Object
def initialize(string)
@io = StringIO.new(string, "rb:#{string.encoding}")
end
def each_line(*args, &block)
@io.each_line(*args, &block)
end
def gets(*args)
@io.gets(*args)
end
Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.