diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-17 11:39:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-17 11:39:28 +0000 |
commit | 6d779ac139129329bdee76afb7500d76163badc4 (patch) | |
tree | 44282bed6ce9bd50af0f5cc594baf1ec3bc5aa3d | |
parent | d3b780b1cf6793996c36c3345cb85f0764bbfc25 (diff) | |
download | ruby-6d779ac139129329bdee76afb7500d76163badc4.tar.gz |
re-formatted wrongly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ Mon Sep 15 19:02:52 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org> * lib/csv.rb: add extra pamameter to specify row(record) separater character. To parse Mac's CR separated CSV, do like this. - CSV.open("mac.csv", "r", ?,, ?\r) { |row| p row.to_a } + CSV.open("mac.csv", "r", ?,, ?\r) { |row| p row.to_a } The 3rd parameter in this example ?, is for column separater and the 4th ?\r is for row separater. Row separater is nil by default. Nil separater means "\r\n" or "\n". |