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.
505 506 507 |
# File 'lib/csv/parser.rb', line 505 def initialize(string) @io = StringIO.new(string) end |
Instance Method Details
#eof? ⇒ Boolean
513 514 515 |
# File 'lib/csv/parser.rb', line 513 def eof? @io.eof? end |
#gets(*args) ⇒ Object
509 510 511 |
# File 'lib/csv/parser.rb', line 509 def gets(*args) @io.gets(*args) end |