るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
35件ヒット [1-35件を表示] (0.077秒)

別のキーワード

  1. io popen
  2. io pipe
  3. io each
  4. io each_line
  5. io readlines

ライブラリ

キーワード

検索結果

CSV#to_io -> self (18442.0)

IO#to_io に委譲します。

IO#to_io に委譲します。


@see IO#to_io

CSV#ioctl(cmd, arg = 0) -> Integer (18373.0)

IO#ioctl に委譲します。

IO#ioctl に委譲します。


@see IO#ioctl

CSV#reopen(io) -> self (376.0)

IO#reopen に委譲します。

IO#reopen に委譲します。


@see IO#reopen

CSV#seek(offset, whence = IO::SEEK_SET) -> 0 (376.0)

IO#seek に委譲します。

IO#seek に委譲します。


@see IO#seek

CSV#flock(operation) -> 0 | false (307.0)

File#flock に委譲します。

File#flock に委譲します。

絞り込み条件を変える

CSV#eof -> bool (139.0)

IO#eof, IO#eof? に委譲します。

IO#eof, IO#eof? に委譲します。


@see IO#eof, IO#eof?

CSV#eof? -> bool (139.0)

IO#eof, IO#eof? に委譲します。

IO#eof, IO#eof? に委譲します。


@see IO#eof, IO#eof?

CSV#isatty -> bool (139.0)

IO#isatty, IO#tty? に委譲します。

IO#isatty, IO#tty? に委譲します。


@see IO#isatty, IO#tty?

CSV#pos -> Integer (139.0)

IO#pos, IO#tell に委譲します。

IO#pos, IO#tell に委譲します。


@see IO#pos, IO#tell

CSV#tell -> Integer (139.0)

IO#pos, IO#tell に委譲します。

IO#pos, IO#tell に委譲します。


@see IO#pos, IO#tell

絞り込み条件を変える

CSV#tty? -> bool (139.0)

IO#isatty, IO#tty? に委譲します。

IO#isatty, IO#tty? に委譲します。


@see IO#isatty, IO#tty?

CSV#fileno -> Integer (103.0)

IO#fileno, IO#to_i に委譲します。

IO#fileno, IO#to_i に委譲します。

CSV#to_i -> Integer (103.0)

IO#fileno, IO#to_i に委譲します。

IO#fileno, IO#to_i に委譲します。

CSV#binmode -> self (73.0)

IO#binmode に委譲します。

IO#binmode に委譲します。


@see IO#binmode

CSV#binmode? -> bool (73.0)

IO#binmode? に委譲します。

IO#binmode? に委譲します。


@see IO#binmode?

絞り込み条件を変える

CSV#close -> nil (73.0)

IO#close に委譲します。

IO#close に委譲します。


@see IO#close

CSV#close_read -> nil (73.0)

IO#close_read に委譲します。

IO#close_read に委譲します。


@see IO#close_read

CSV#close_write -> nil (73.0)

IO#close_write に委譲します。

IO#close_write に委譲します。


@see IO#close_write

CSV#closed? -> bool (73.0)

IO#closed? に委譲します。

IO#closed? に委譲します。


@see IO#closed?

CSV#internal_encoding -> Encoding | nil (73.0)

IO#internal_encoding に委譲します。

IO#internal_encoding に委譲します。


@see IO#internal_encoding

絞り込み条件を変える

CSV#path -> String (73.0)

IO#path に委譲します。

IO#path に委譲します。


@see IO#path

CSV#pid -> Integer | nil (73.0)

IO#pid に委譲します。

IO#pid に委譲します。


@see IO#pid

CSV#pos=(n) (73.0)

IO#pos= に委譲します。

IO#pos= に委譲します。


@see IO#pos=

CSV#rewind -> 0 (73.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#stat -> File::Stat (73.0)

IO#stat に委譲します。

IO#stat に委譲します。


@see IO#stat

絞り込み条件を変える

CSV#sync -> bool (73.0)

IO#sync に委譲します。

IO#sync に委譲します。


@see IO#sync

CSV#sync=(newstate) (73.0)

IO#sync= に委譲します。

IO#sync= に委譲します。


@see IO#sync=

CSV#external_encoding -> Encoding | nil (55.0)

IO#external_encoding に委譲します。

IO#external_encoding に委譲します。

CSV#fcntl(cmd, arg = 0) -> Integer (55.0)

IO#fcntl に委譲します。

IO#fcntl に委譲します。

CSV#flush -> self (55.0)

IO#flush に委譲します。

IO#flush に委譲します。

絞り込み条件を変える

CSV#fsync -> 0 | nil (55.0)

IO#fsync に委譲します。

IO#fsync に委譲します。

CSV#gets -> Array | CSV::Row (55.0)

String や IO をラップしたデータソースから一行だけ読み込んで フィールドの配列か CSV::Row のインスタンスを返します。

...ールドの配列か 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#readline -> Array | CSV::Row (55.0)

String や IO をラップしたデータソースから一行だけ読み込んで フィールドの配列か CSV::Row のインスタンスを返します。

...ールドの配列か 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#shift -> Array | CSV::Row (55.0)

String や IO をラップしたデータソースから一行だけ読み込んで フィールドの配列か CSV::Row のインスタンスを返します。

...ールドの配列か 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#inspect -> String (25.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:\"\\\"\">"
//}...

絞り込み条件を変える