2件ヒット
[1-2件を表示]
(0.100秒)
クラス
-
File
:: Stat (1) - Pathname (1)
検索結果
-
File
:: Stat # sticky? -> bool (54325.0) -
stickyビットが立っている時に真を返します。
stickyビットが立っている時に真を返します。
//emlist[][ruby]{
Dir.glob("/usr/bin/*") {|bd|
begin
if File::Stat.new(bd).sticky?
puts bd
end
rescue
end
}
#例
#...
#=> /usr/bin/emacs-21.4
#...
//} -
Pathname
# sticky? -> bool (54307.0) -
FileTest.sticky?(self.to_s) と同じです。
FileTest.sticky?(self.to_s) と同じです。
@see FileTest.#sticky?