るりまサーチ

最速Rubyリファレンスマニュアル検索!
55件ヒット [1-55件を表示] (0.120秒)
トップページ > クエリ:l[x] > クエリ:read[x] > クエリ:path[x] > クエリ:flush[x]

別のキーワード

  1. stringio read
  2. _builtin read
  3. io read
  4. csv read
  5. tuple read_all

ライブラリ

クラス

検索結果

IO#flush -> self (24231.0)

IO ポートの内部バッファをフラッシュします。

...ープンされていなければ発生します。

@raise Errno::EXXX fflush(3) が失敗した場合に発生します。

//emlist[例][ruby]{
require "tempfile"

Tempfile.open("testtmpfile") do |f|
f.print "test"
File.read(f.path) # => ""
f.flush
File.read(f.path) # => "test"
end
//}...

CSV.open(filename, mode = "rb", options = Hash.new) -> CSV (124.0)

このメソッドは IO オブジェクトをオープンして CSV でラップします。 これは CSV ファイルを書くための主要なインターフェイスとして使うことを意図しています。

...クローズします。
ブロックが与えられなかった場合は CSV オブジェクトを返します。

データが Encoding.default_external と異なる場合は、mode にエンコー
ディングを指定する文字列を埋め込まなければなりません。データをどの...
...File に委譲します。

* IO#binmode
* IO#binmode?
* IO#close
* IO#close_read
* IO#close_write
* IO#closed?
* IO#eof
* IO#eof?
* IO#external_encoding
* IO#fcntl
* IO#fileno
* File#flock
* IO#flush
* IO#fsync
* IO#internal_encoding
* IO#ioctl
* IO#isatty
* File...
...#tell
* IO#to_i
* IO#to_io
* File#truncate
* IO#tty?

@param filename ファイル名を指定します。

@param mode IO.open に指定できるものと同じものを指定できます。

@param options CSV.new のオプションと同じオプションを指定できます。

//emlist...

CSV.open(filename, mode = "rb", options = Hash.new) {|csv| ... } -> nil (124.0)

このメソッドは IO オブジェクトをオープンして CSV でラップします。 これは CSV ファイルを書くための主要なインターフェイスとして使うことを意図しています。

...クローズします。
ブロックが与えられなかった場合は CSV オブジェクトを返します。

データが Encoding.default_external と異なる場合は、mode にエンコー
ディングを指定する文字列を埋め込まなければなりません。データをどの...
...File に委譲します。

* IO#binmode
* IO#binmode?
* IO#close
* IO#close_read
* IO#close_write
* IO#closed?
* IO#eof
* IO#eof?
* IO#external_encoding
* IO#fcntl
* IO#fileno
* File#flock
* IO#flush
* IO#fsync
* IO#internal_encoding
* IO#ioctl
* IO#isatty
* File...
...#tell
* IO#to_i
* IO#to_io
* File#truncate
* IO#tty?

@param filename ファイル名を指定します。

@param mode IO.open に指定できるものと同じものを指定できます。

@param options CSV.new のオプションと同じオプションを指定できます。

//emlist...

CSV.open(filename, options = Hash.new) -> CSV (124.0)

このメソッドは IO オブジェクトをオープンして CSV でラップします。 これは CSV ファイルを書くための主要なインターフェイスとして使うことを意図しています。

...クローズします。
ブロックが与えられなかった場合は CSV オブジェクトを返します。

データが Encoding.default_external と異なる場合は、mode にエンコー
ディングを指定する文字列を埋め込まなければなりません。データをどの...
...File に委譲します。

* IO#binmode
* IO#binmode?
* IO#close
* IO#close_read
* IO#close_write
* IO#closed?
* IO#eof
* IO#eof?
* IO#external_encoding
* IO#fcntl
* IO#fileno
* File#flock
* IO#flush
* IO#fsync
* IO#internal_encoding
* IO#ioctl
* IO#isatty
* File...
...#tell
* IO#to_i
* IO#to_io
* File#truncate
* IO#tty?

@param filename ファイル名を指定します。

@param mode IO.open に指定できるものと同じものを指定できます。

@param options CSV.new のオプションと同じオプションを指定できます。

//emlist...

CSV.open(filename, options = Hash.new) {|csv| ... } -> nil (124.0)

このメソッドは IO オブジェクトをオープンして CSV でラップします。 これは CSV ファイルを書くための主要なインターフェイスとして使うことを意図しています。

...クローズします。
ブロックが与えられなかった場合は CSV オブジェクトを返します。

データが Encoding.default_external と異なる場合は、mode にエンコー
ディングを指定する文字列を埋め込まなければなりません。データをどの...
...File に委譲します。

* IO#binmode
* IO#binmode?
* IO#close
* IO#close_read
* IO#close_write
* IO#closed?
* IO#eof
* IO#eof?
* IO#external_encoding
* IO#fcntl
* IO#fileno
* File#flock
* IO#flush
* IO#fsync
* IO#internal_encoding
* IO#ioctl
* IO#isatty
* File...
...#tell
* IO#to_i
* IO#to_io
* File#truncate
* IO#tty?

@param filename ファイル名を指定します。

@param mode IO.open に指定できるものと同じものを指定できます。

@param options CSV.new のオプションと同じオプションを指定できます。

//emlist...

絞り込み条件を変える