るりまサーチ

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

別のキーワード

  1. pathname glob
  2. pathname open
  3. pathname find
  4. pathname sub
  5. pathname ascend

クラス

検索結果

Pathname#chown(owner, group) -> Integer (39161.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...

Pathname#lchown(owner, group) -> Integer (27102.0)

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

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

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

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


@see File.lchown...