るりまサーチ

最速Rubyリファレンスマニュアル検索!
393件ヒット [1-100件を表示] (0.015秒)
トップページ > クエリ:filetest[x] > 種類:特異メソッド[x]

別のキーワード

  1. _builtin filetest
  2. filetest size
  3. filetest pipe?
  4. filetest file?
  5. filetest size?

ライブラリ

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

File.blockdev?(path) -> bool (23.0)

FileTest.#blockdev? と同じです。

...
FileTest
.#blockdev? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。


@see FileTest.#blockdev?...

IO.copy_stream(src, dst, copy_length = nil) -> Integer (19.0)

指定された src から dst へコピーします。 コピーしたバイト数を返します。

...ットを数値で指定します。

//emlist[例][ruby]{
IO.write("filetest", "abcdefghij")
IO.copy_stream("filetest", "filecopy", 2) # => 2
IO.read("filecopy") # => "ab"
IO.copy_stream("filetest", "filecopy", 3, 4) # => 3
IO.read("filecopy")...

IO.copy_stream(src, dst, copy_length, src_offset) -> Integer (19.0)

指定された src から dst へコピーします。 コピーしたバイト数を返します。

...ットを数値で指定します。

//emlist[例][ruby]{
IO.write("filetest", "abcdefghij")
IO.copy_stream("filetest", "filecopy", 2) # => 2
IO.read("filecopy") # => "ab"
IO.copy_stream("filetest", "filecopy", 3, 4) # => 3
IO.read("filecopy")...

File.chardev?(path) -> bool (17.0)

FileTest.#chardev? と同じです。

...
FileTest
.#chardev? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

File.directory?(path) -> bool (17.0)

FileTest.#directory? と同じです。

...
FileTest
.#directory? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

絞り込み条件を変える

File.empty?(path) -> bool (17.0)

FileTest.#zero? と同じです。

...
FileTest
.#zero? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

File.executable?(path) -> bool (17.0)

FileTest.#executable? と同じです。

...
FileTest
.#executable? と同じです。

@param path パスを表す文字列を指定します。...

File.executable_real?(path) -> bool (17.0)

FileTest.#executable_real? と同じです。

...
FileTest
.#executable_real? と同じです。

@param path パスを表す文字列を指定します。...

File.exist?(path) -> bool (17.0)

FileTest.#exist? と同じです。

...
FileTest
.#exist? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...
<< 1 2 3 ... > >>