2件ヒット
[1-2件を表示]
(0.050秒)
検索結果
-
File
:: Stat # sticky? -> bool (87322.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
#...
//} -
File
. sticky?(path) -> bool (78601.0) -
FileTest.#sticky? と同じです。
FileTest.#sticky? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。