るりまサーチ

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

別のキーワード

  1. _builtin path
  2. pathname to_path
  3. _builtin absolute_path
  4. _builtin to_path
  5. csv path

ライブラリ

キーワード

検索結果

<< < ... 3 4 5 >>

File.writable_real?(path) -> bool (109.0)

FileTest.#writable_real? と同じです。

...
File
Test.#writable_real? と同じです。

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

File.zero?(path) -> bool (109.0)

FileTest.#zero? と同じです。

...
File
Test.#zero? と同じです。

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

File.exists?(path) -> bool (103.0)

このメソッドは Ruby 2.1 から deprecated です。File.exist? を使用してください。

...このメソッドは Ruby 2.1 から deprecated です。File.exist? を使用してください。...

File.split(pathname) -> [String] (102.0)

pathname を dirname とbasename に分割して、2 要 素の配列を返します。

...
path
name を dirname とbasename に分割して、2 要
素の配列を返します。

//emlist[][ruby]{
[File.dirname(pathname), File.basename(pathname)]
//}

と同じです。

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

File.join(*item) -> String (8.0)

File::SEPARATORを間に入れて文字列を連結します。platform/DOSISH-supportで環境依存になる予定です。

...
File
::SEPARATORを間に入れて文字列を連結します。platform/DOSISH-supportで環境依存になる予定です。

@param item 連結したいディレクトリ名やファイル名を文字列(もしくは文字列を要素に持つ配列)で与えます。
文字列A...
...とBを連結する際に、Aの末尾の文字とBの先頭の文字がFile::SEPARATORであった場合には、
まずこれらを削除した上で改めてFile::SEPARATORを間に入れて連結します。
引数の中に配列がある場合は配列要素を再帰的...
...に変換されます。
配列・文字列以外のオブジェクトを指定した場合は、まず to_str メソッド、次に to_path メソッドにより暗黙の型変換を試みます。
引数がない場合には空文字列を生成して返します。

@raise...

絞り込み条件を変える

<< < ... 3 4 5 >>