540件ヒット
[201-300件を表示]
(0.130秒)
ライブラリ
- csv (540)
キーワード
-
close
_ write (12) -
col
_ sep (12) - convert (36)
- converters (12)
-
external
_ encoding (12) - fcntl (12)
-
field
_ size _ limit (12) - fileno (12)
- flock (12)
-
force
_ quotes? (12) - gets (12)
-
header
_ convert (36) -
header
_ converters (12) - headers (12)
- inspect (12)
-
internal
_ encoding (12) - ioctl (12)
- isatty (12)
- lineno (12)
- path (12)
- pid (12)
- pos (12)
- puts (12)
-
quote
_ char (12) - read (12)
- readline (12)
- readlines (12)
-
return
_ headers? (12) -
row
_ sep (12) - seek (12)
- shift (12)
- stat (12)
- string (12)
- sync= (12)
- tell (12)
-
to
_ i (12) -
to
_ io (12) - truncate (12)
- tty? (12)
-
unconverted
_ fields? (12) -
write
_ headers? (12)
検索結果
先頭5件
-
CSV
# inspect -> String (6102.0) -
ASCII 互換文字列で自身の情報を表したものを返します。
...ASCII 互換文字列で自身の情報を表したものを返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2")
csv.inspect # => "<#CSV io_type:StringIO encoding:UTF-8 lineno:0 col_sep:\",\" row_sep:\"\\n\" quote_char:\"\\\"\">"
//}... -
CSV
# internal _ encoding -> Encoding | nil (6102.0) -
IO#internal_encoding に委譲します。
...IO#internal_encoding に委譲します。
@see IO#internal_encoding... -
CSV
# ioctl(cmd , arg = 0) -> Integer (6102.0) -
IO#ioctl に委譲します。
...IO#ioctl に委譲します。
@see IO#ioctl... -
CSV
# isatty -> bool (6102.0) -
IO#isatty, IO#tty? に委譲します。
...IO#isatty, IO#tty? に委譲します。
@see IO#isatty, IO#tty?... -
CSV
# path -> String (6102.0) -
IO#path に委譲します。
...IO#path に委譲します。
@see IO#path... -
CSV
# quote _ char -> String (6102.0) -
フィールドをクオートするのに使用する文字列を返します。
...フィールドをクオートするのに使用する文字列を返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2", quote_char: "'")
csv.quote_char # => "'"
//}
@see CSV.new... -
CSV
# return _ headers? -> bool (6102.0) -
ヘッダを返す場合は、真を返します。 そうでない場合は、偽を返します。
...t[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2", headers: true, return_headers: false)
csv.return_headers? # => false
csv.shift # => #<CSV::Row "header1":"row1_1" "header2":"row1_2">
csv = CSV.new("header1,header2\nrow1_1,row1_2", headers: true, return_headers: true)
csv.......return_headers? # => true
csv.shift # => #<CSV::Row "header1":"header1" "header2":"header2">
//}
@see CSV.new... -
CSV
# shift -> Array | CSV :: Row (6102.0) -
String や IO をラップしたデータソースから一行だけ読み込んで フィールドの配列か CSV::Row のインスタンスを返します。
...String や IO をラップしたデータソースから一行だけ読み込んで
フィールドの配列か CSV::Row のインスタンスを返します。
データソースは読み込み用にオープンされている必要があります。
@return ヘッダを使用しない場合は......配列を返します。
ヘッダを使用する場合は CSV::Row を返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new(DATA.read)
csv.readline # => ["header1", "header2"]
csv.readline # => ["row1_1", "row1_2"]
__END__
header1,header2
row1_1,row1_2
//}... -
CSV
# to _ io -> self (6102.0) -
IO#to_io に委譲します。
...IO#to_io に委譲します。
@see IO#to_io...