るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.039秒)
トップページ > バージョン:2.5.0[x] > クエリ:File[x] > クラス:Pathname[x] > クエリ:rename[x]

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file mtime
  4. file truncate
  5. file atime

ライブラリ

検索結果

Pathname#rename(to) -> 0 (54439.0)

File.rename(self.to_s, to) と同じです。

File.rename(self.to_s, to) と同じです。

@param to ファイル名を表す文字列を指定します。


@see File.rename