るりまサーチ

最速Rubyリファレンスマニュアル検索!
455件ヒット [401-455件を表示] (0.028秒)
トップページ > クエリ:file[x] > クエリ:path[x] > クラス:Pathname[x]

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file atime
  4. file size

ライブラリ

キーワード

検索結果

<< < ... 3 4 5 >>

Pathname#mtime -> Time (3023.0)

File.mtime(self.to_s) を渡したものと同じです。

...File.mtime(self.to_s) を渡したものと同じです。


@see File.mtime...

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

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

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

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


@see File.rename...

Pathname#truncate(length) -> 0 (3023.0)

File.truncate(self.to_s, length) と同じです。

...File.truncate(self.to_s, length) と同じです。


@param length 変更したいサイズを整数で与えます。

@see File.truncate...

Pathname#utime(atime, mtime) -> Integer (3023.0)

File.utime(atime, mtime, self.to_s) と同じです。

...File.utime(atime, mtime, self.to_s) と同じです。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@param mtime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。


@see File.utime...

Pathname#to_s -> String (3019.0)

パス名を文字列で返します。

...パス名を文字列で返します。


//emlist[例][ruby]{
require 'pathname'

path
= Pathname.new("/tmp/hogehoge")
File
.open(path)
//}...

絞り込み条件を変える

<< < ... 3 4 5 >>