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 | 9272ca4d2b181842b7d322fe90a38bd5d2974cb8 (patch) | |
tree | 767c17c2ac21ecc9e2d4c679666736ce32d6db95 | |
parent | c504ca6776df526032be9e1296932d9069b9dcfe (diff) |
revert mis-edited entry
git-svn-id: svn+ssh://ci.ruby-lang.org/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 |