Class: CSV::Parser::UnoptimizedStringIO
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/csv/parser.rb |
Class Method Summary
- .new(string) ⇒ UnoptimizedStringIO constructor
Instance Attribute Summary
- #eof? ⇒ Boolean readonly
Instance Method Summary
Constructor Details
.new(string) ⇒ UnoptimizedStringIO
# File 'lib/csv/parser.rb', line 828
def initialize(string) @io = StringIO.new(string, "rb:#{string.encoding}") end
Instance Attribute Details
#eof? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/csv/parser.rb', line 840
def eof? @io.eof? end
Instance Method Details
#each_line(*args, &block)
[ GitHub ]# File 'lib/csv/parser.rb', line 836
def each_line(*args, &block) @io.each_line(*args, &block) end
#gets(*args)
[ GitHub ]# File 'lib/csv/parser.rb', line 832
def gets(*args) @io.gets(*args) end