In Files

  • ruby-3.1.2/lib/csv/parser.rb

Parent

Files

Class/Module Index [+]

Quicksearch

CSV::Parser::UnoptimizedStringIO

Public Class Methods

new(string) click to toggle source
 
               # File ruby-3.1.2/lib/csv/parser.rb, line 735
def initialize(string)
  @io = StringIO.new(string, "rb:#{string.encoding}")
end
            

Public Instance Methods

each_line(*args, &block) click to toggle source
 
               # File ruby-3.1.2/lib/csv/parser.rb, line 743
def each_line(*args, &block)
  @io.each_line(*args, &block)
end
            
eof?() click to toggle source
 
               # File ruby-3.1.2/lib/csv/parser.rb, line 747
def eof?
  @io.eof?
end
            
gets(*args) click to toggle source
 
               # File ruby-3.1.2/lib/csv/parser.rb, line 739
def gets(*args)
  @io.gets(*args)
end