33件ヒット
[1-33件を表示]
(0.073秒)
検索結果
先頭3件
-
UnboundMethod
# owner -> Class | Module (18149.0) -
このメソッドが定義されている class か module を返します。
...このメソッドが定義されている class か module を返します。
//emlist[例][ruby]{
Integer.instance_method(:to_s).owner # => Integer
Integer.instance_method(:to_c).owner # => Numeric
Integer.instance_method(:hash).owner # => Kernel
//}... -
Pathname
# chown(owner , group) -> Integer (240.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... -
Pathname
# lchown(owner , group) -> Integer (240.0) -
File.lchown(owner, group, self.to_s) と同じです。
...File.lchown(owner, group, self.to_s) と同じです。
@param owner オーナーを指定します。
@param group グループを指定します。
@see File.lchown...