1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/csv.rb: Improving documentation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
jeg2 2010-07-01 14:11:02 +00:00
parent 8bab1aff2c
commit 5d229db887
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Thu Jul 1 23:10:25 2010 James Edward Gray II <jeg2@ruby-lang.org>
* lib/csv.rb: Improving documentation.
Thu Jul 1 22:15:01 2010 Tanaka Akira <akr@fsij.org>
* numeric.c (rb_num2ulong): fix the lower limit for float.

View file

@ -153,6 +153,14 @@ require "stringio"
# CSV { |csv_out| csv_out << %w{my data here} } # to $stdout
# CSV(csv = "") { |csv_str| csv_str << %w{my data here} } # to a String
# CSV($stderr) { |csv_err| csv_err << %w{my data here} } # to $stderr
# CSV($stdin) { |csv_in| csv_in.each { |row| p row } } # from $stdin
#
# == Advanced Usage
#
# === Wrap an IO Object
#
# csv = CSV.new(io, options)
# # ... read (with gets() or each()) from and write (with <<) to csv here ...
#
# == CSV and Character Encodings (M17n or Multilingualization)
#