summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/csv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csv.rb b/lib/csv.rb
index f488141eb2..f846205637 100644
--- a/lib/csv.rb
+++ b/lib/csv.rb
@@ -1524,7 +1524,7 @@ class CSV
#
loop do
# add another read to the line
- line += @io.gets(@row_sep) rescue return nil
+ (line += @io.gets(@row_sep)) rescue return nil
# copy the line so we can chop it up in parsing
parse = line.dup
parse.sub!(@parsers[:line_end], "")