Class: CSV::Parser::UnoptimizedStringIO
- Inherits:
-
Object
- Object
- CSV::Parser::UnoptimizedStringIO
- Defined in:
- lib/csv/parser.rb
Instance Method Summary collapse
- #eof? ⇒ Boolean
- #gets(*args) ⇒ Object
-
#initialize(string) ⇒ UnoptimizedStringIO
constructor
A new instance of UnoptimizedStringIO.
Constructor Details
#initialize(string) ⇒ UnoptimizedStringIO
Returns a new instance of UnoptimizedStringIO.
529 530 531 |
# File 'lib/csv/parser.rb', line 529 def initialize(string) @io = StringIO.new(string) end |
Instance Method Details
#eof? ⇒ Boolean
537 538 539 |
# File 'lib/csv/parser.rb', line 537 def eof? @io.eof? end |
#gets(*args) ⇒ Object
533 534 535 |
# File 'lib/csv/parser.rb', line 533 def gets(*args) @io.gets(*args) end |