123456789_123456789_123456789_123456789_123456789_

Class: CSV::Parser::UnoptimizedStringIO

Relationships & Source Files
Inherits: Object
Defined in: lib/csv/parser.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(string) ⇒ UnoptimizedStringIO

[ GitHub ]

  
# File 'lib/csv/parser.rb', line 665

def initialize(string)
  @io = StringIO.new(string)
end

Instance Attribute Details

#eof?Boolean (readonly)

[ GitHub ]

  
# File 'lib/csv/parser.rb', line 677

def eof?
  @io.eof?
end

Instance Method Details

#each_line(*args, &block)

[ GitHub ]

  
# File 'lib/csv/parser.rb', line 673

def each_line(*args, &block)
  @io.each_line(*args, &block)
end

#gets(*args)

[ GitHub ]

  
# File 'lib/csv/parser.rb', line 669

def gets(*args)
  @io.gets(*args)
end