るりまサーチ (Ruby 3.0)

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

別のキーワード

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

クラス

検索結果

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

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

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

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


@see File.rename