class CSV::Parser::UnoptimizedStringIO

Parent:
Object

Public Class Methods

new(string) Show source
# File lib/csv/parser.rb, line 710
def initialize(string)
  @io = StringIO.new(string, "rb:#{string.encoding}")
end

Public Instance Methods

each_line(*args, &block) Show source
# File lib/csv/parser.rb, line 718
def each_line(*args, &block)
  @io.each_line(*args, &block)
end
eof?() Show source
# File lib/csv/parser.rb, line 722
def eof?
  @io.eof?
end
gets(*args) Show source
# File lib/csv/parser.rb, line 714
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.