diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-19 09:48:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-19 09:48:10 +0000 |
commit | 2a1309c262e5f45ed1969dc9a22cbd6e1a5a070c (patch) | |
tree | 767c17c2ac21ecc9e2d4c679666736ce32d6db95 | |
parent | 46634fc4e93c80ea1718c760daca4b0c1c08d3ea (diff) | |
download | ruby-2a1309c262e5f45ed1969dc9a22cbd6e1a5a070c.tar.gz ruby-2a1309c262e5f45ed1969dc9a22cbd6e1a5a070c.tar.xz ruby-2a1309c262e5f45ed1969dc9a22cbd6e1a5a070c.zip |
revert mis-edited entry
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -31,26 +31,26 @@ Tue May 18 21:21:43 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> * CSV::Cell removed. a cell is represented as just a String or nil(NULL). this change will cause widespread destruction. - CSV.open("foo.csv", "r") do |row| - row.each do |cell| + CSV.open("foo.csv", "r") do |row| + row.each do |cell| if cell.is_null # Cell#is_null p "(NULL)" else p cell.data # Cell#data end - end + end end must be just; CSV.open("foo.csv", "r") do |row| - row.each do |cell| + row.each do |cell| if cell.nil? p "(NULL)" else p cell end - end + end end * lib/csv.rb: [CAUTION] record separator(CR, LF, CR+LF) behavior |