540件ヒット
[501-540件を表示]
(0.173秒)
ライブラリ
- 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)
検索結果
先頭4件
-
CSV
# readlines -> [Array] | CSV :: Table (102.0) -
残りの行を読み込んで配列の配列を返します。 self の生成時に headers オプションに偽でない値が指定されていた場合は CSV::Table オブジェクトを返します。
...い値が指定されていた場合は CSV::Table オブジェクトを返します。
データソースは読み込み用にオープンされている必要があります。
//emlist[例 headers: false][ruby]{
require "csv"
csv = CSV.new(DATA.read)
csv.read
# => [["header1", "header2"], ["ro......_1", "row1_2"], ["row2_1", "row2_2"]]
__END__
header1,header2
row1_1,row1_2
row2_1,row2_2
//}
//emlist[例 headers: true][ruby]{
require "csv"
csv = CSV.new(DATA.read, headers: true)
csv.read
# => #<CSV::Table mode:col_or_row row_count:3>
__END__
header1,header2
row1_1,row1_2
row2_1,row2_2
//}... -
CSV
# row _ sep -> String (102.0) -
行区切り文字列として使用する文字列を返します。
...行区切り文字列として使用する文字列を返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2|row1_1,row1_2", row_sep: "|")
csv.row_sep # => "|"
csv.read # => [["header1", "header2"], ["row1_1", "row1_2"]]
//}
@see CSV.new... -
CSV
# seek(offset , whence = IO :: SEEK _ SET) -> 0 (102.0) -
IO#seek に委譲します。
IO#seek に委譲します。
@see IO#seek -
CSV
# sync=(newstate) (102.0) -
IO#sync= に委譲します。
IO#sync= に委譲します。
@see IO#sync=