diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-18 03:55:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-18 03:55:08 +0000 |
commit | 3bf1c09c7a466f80e855a897cd92f962e4a18782 (patch) | |
tree | e004710f3465f386b66f44e675d865db5ff859f9 /lib/csv.rb | |
parent | 4f94cb43fcf7035e7ee1db0ba6750d3249567085 (diff) |
csv.rb: fix typo
* lib/csv.rb (CSV#shift): fix typo. [See GH-1160]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/csv.rb')
-rw-r--r-- | lib/csv.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csv.rb b/lib/csv.rb index ac77af7c5f..6e005cf20d 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -1855,7 +1855,7 @@ class CSV csv.last << @col_sep end elsif part[0] == @quote_char - # If we are staring a new quoted column + # If we are starting a new quoted column if part[-1] != @quote_char || part.count(@quote_char) % 2 != 0 # start an extended column csv << part[1..-1] |