* 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:
parent
8bab1aff2c
commit
5d229db887
@ -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>
|
Thu Jul 1 22:15:01 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* numeric.c (rb_num2ulong): fix the lower limit for float.
|
* numeric.c (rb_num2ulong): fix the lower limit for float.
|
||||||
|
@ -153,6 +153,14 @@ require "stringio"
|
|||||||
# CSV { |csv_out| csv_out << %w{my data here} } # to $stdout
|
# 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(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($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)
|
# == CSV and Character Encodings (M17n or Multilingualization)
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user