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 | 2537ed5734d0882d7312d6cee4393e74c584922b (patch) | |
tree | e004710f3465f386b66f44e675d865db5ff859f9 /lib | |
parent | bfd227dff89979cfdf7ce8a3565dab17fce1be5c (diff) | |
download | ruby-2537ed5734d0882d7312d6cee4393e74c584922b.tar.gz |
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')
-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] |