1056件ヒット
[201-300件を表示]
(0.073秒)
種類
- インスタンスメソッド (825)
- 特異メソッド (187)
- 定数 (44)
クラス
- Array (11)
- CSV (682)
-
CSV
:: FieldInfo (33) -
CSV
:: Row (187) -
CSV
:: Table (132) - String (11)
キーワード
- ConverterEncoding (11)
-
DEFAULT
_ OPTIONS (11) - DateTimeMatcher (11)
- VERSION (11)
- [] (44)
- binmode (11)
- binmode? (11)
- close (11)
-
close
_ read (11) -
close
_ write (11) -
col
_ sep (11) - convert (22)
- delete (22)
-
delete
_ if (33) - each (22)
- encoding (11)
-
external
_ encoding (11) - fcntl (11)
- field (11)
- field? (11)
-
field
_ row? (11) -
field
_ size _ limit (11) - fields (11)
- fileno (11)
- flock (11)
- foreach (11)
- fsync (11)
- generate (11)
-
generate
_ line (11) - header (11)
- headers (11)
- include? (11)
- index (22)
- inspect (33)
- instance (22)
-
internal
_ encoding (11) - ioctl (11)
- isatty (11)
- length (22)
- line (11)
- lineno (11)
- new (22)
- open (44)
- parse (22)
-
parse
_ csv (11) -
parse
_ line (11) - path (11)
- pid (11)
- pos (11)
-
quote
_ char (11) - read (11)
- readline (11)
- readlines (22)
- reopen (11)
- rewind (11)
-
row
_ sep (11) - seek (11)
- shift (11)
- size (22)
-
skip
_ blanks? (11) - stat (11)
- string (11)
- table (11)
- tell (11)
-
to
_ csv (33) -
to
_ i (11) -
to
_ io (11) -
to
_ s (22) - tty? (11)
-
unconverted
_ fields? (11) -
values
_ at (22) -
write
_ headers? (11)
検索結果
先頭5件
-
CSV
# binmode -> self (6202.0) -
IO#binmode に委譲します。
...
IO#binmode に委譲します。
@see IO#binmode... -
CSV
# binmode? -> bool (6202.0) -
IO#binmode? に委譲します。
...
IO#binmode? に委譲します。
@see IO#binmode?... -
CSV
# close _ write -> nil (6202.0) -
IO#close_write に委譲します。
...
IO#close_write に委譲します。
@see IO#close_write... -
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
# ioctl(cmd , arg = 0) -> Integer (6202.0) -
IO#ioctl に委譲します。
...
IO#ioctl に委譲します。
@see IO#ioctl... -
CSV
# isatty -> bool (6202.0) -
IO#isatty, IO#tty? に委譲します。
...
IO#isatty, IO#tty? に委譲します。
@see IO#isatty, IO#tty?... -
CSV
# pid -> Integer | nil (6202.0) -
IO#pid に委譲します。
...
IO#pid に委譲します。
@see IO#pid... -
CSV
# rewind -> 0 (6202.0) -
IO#rewind に似ています。CSV#lineno を 0 にします。
...
IO#rewind に似ています。CSV#lineno を 0 にします。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2")
csv.lineno # => 0
csv.readline
csv.lineno # => 1
csv.rewind
csv.lineno # => 0
//}
@see IO#rewind... -
CSV
# skip _ blanks? -> bool (6202.0) -
真である場合は、空行を読み飛ばします。
...。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\n\nrow1_1,row1_2")
csv.skip_blanks? # => false
csv.read # => [["header1", "header2"], [], ["row1_1", "row1_2"]]
csv = CSV.new("header1,header2\n\nrow1_1,row1_2", skip_blanks: true)
csv.skip_blanks? # => true
csv.read......# => [["header1", "header2"], ["row1_1", "row1_2"]]
//}
@see CSV.new... -
CSV
# to _ io -> self (6202.0) -
IO#to_io に委譲します。
...
IO#to_io に委譲します。
@see IO#to_io...