473件ヒット
[1-100件を表示]
(0.091秒)
ライブラリ
- csv (473)
キーワード
- << (11)
-
add
_ row (11) - binmode (11)
- binmode? (11)
- close (11)
-
close
_ read (11) -
close
_ write (11) - closed? (11)
-
col
_ sep (11) - each (11)
- eof (11)
- eof? (11)
-
external
_ encoding (11) - fcntl (11)
-
field
_ size _ limit (11) - fileno (11)
- flock (11)
- flush (11)
-
force
_ quotes? (11) - fsync (11)
-
header
_ row? (11) - headers (11)
-
internal
_ encoding (11) - ioctl (11)
- isatty (11)
- lineno (11)
- pid (11)
- puts (11)
- read (11)
- readline (11)
- readlines (11)
- reopen (11)
-
return
_ headers? (11) -
skip
_ blanks? (11) - stat (11)
- sync (11)
- tell (11)
-
to
_ i (11) -
to
_ io (11) - truncate (11)
- tty? (11)
-
unconverted
_ fields? (11) -
write
_ headers? (11)
検索結果
先頭5件
-
CSV
# close -> nil (6202.0) -
IO#close に委譲します。
...IO#close に委譲します。
@see IO#close... -
CSV
# close _ read -> nil (6202.0) -
IO#close_read に委譲します。
...IO#close_read に委譲します。
@see IO#close_read... -
CSV
# close _ write -> nil (6202.0) -
IO#close_write に委譲します。
...IO#close_write に委譲します。
@see IO#close_write... -
CSV
# closed? -> bool (6202.0) -
IO#closed? に委譲します。
...IO#closed? に委譲します。
@see IO#closed?... -
CSV
# col _ sep -> String (6202.0) -
カラム区切り文字列として使用する文字列を返します。
...す。
//emlist[例][ruby]{
require "csv"
users =<<-EOS
id|first name|last name|age
1|taro|tanaka|20
2|jiro|suzuki|18
3|ami|sato|19
4|yumi|adachi|21
EOS
csv = CSV.new(users, headers: true, col_sep: "|")
csv.col_sep # => "|"
csv.first.to_a # => [["id", "1"], ["first name", "taro"], ["last name", "......tanaka"], ["age", "20"]]
csv = CSV.new(users, headers: true)
csv.col_sep # => ","
csv.first.to_a # => [["id|first name|last name|age", "1|taro|tanaka|20"]]
//}
@see CSV.new... -
CSV
# external _ encoding -> Encoding | nil (6202.0) -
IO#external_encoding に委譲します。
...IO#external_encoding に委譲します。... -
CSV
# fcntl(cmd , arg = 0) -> Integer (6202.0) -
IO#fcntl に委譲します。
...IO#fcntl に委譲します。... -
CSV
# field _ size _ limit -> Integer (6202.0) -
フィールドサイズの最大値を返します。
...//emlist[例][ruby]{
require "csv"
csv = CSV.new(DATA)
csv.field_size_limit # => nil
p csv.read # => [["a", "b"], ["\n2\n2\n", ""]]
DATA.rewind
csv = CSV.new(DATA, field_size_limit: 4)
p csv.field_size_limit # => 4
csv.read # => #<CSV::MalformedCSVError: Field size exceeded on line 2.>
__END__......"a","b"
"
2
2
",""
//}
@see CSV.new... -
CSV
# fileno -> Integer (6202.0) -
IO#fileno, IO#to_i に委譲します。
...IO#fileno, IO#to_i に委譲します。... -
CSV
# flock(operation) -> 0 | false (6202.0) -
File#flock に委譲します。
...File#flock に委譲します。...