るりまサーチ

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

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. fileutils remove_file
  4. fileutils compare_file
  5. fileutils copy_file

クラス

キーワード

検索結果

Pathname#stat -> File::Stat (18349.0)

File.stat(self.to_s) と同じです。

...File.stat(self.to_s) と同じです。


@see File.stat...

Pathname#lstat -> File::Stat (6326.0)

File.lstat(self.to_s) と同じです。

...File.lstat(self.to_s) と同じです。


@see File.lstat...

Pathname#chown(owner, group) -> Integer (42.0)

File.chown(owner, group, self.to_s) と同じです。

...File.chown(owner, group, self.to_s) と同じです。

@param owner オーナーを指定します。

@param group グループを指定します。

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

Pathname
('testfile').stat.uid # => 501
Pathname
('testfile').chown(502, 12)
Pathname
('testfile').stat.ui...
...d # => 502
//}

@see File.chown, File#chown...