るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.023秒)

別のキーワード

  1. pathname glob
  2. pathname open
  3. pathname realpath
  4. pathname find
  5. pathname opendir

クラス

検索結果

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

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

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

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


@see File.rename