36件ヒット
[1-36件を表示]
(0.023秒)
種類
- インスタンスメソッド (24)
- 特異メソッド (12)
クラス
- File (12)
-
File
:: Stat (12) - Pathname (12)
検索結果
-
File
:: Stat # sticky? -> bool (21107.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 (21101.0) -
FileTest.sticky?(self.to_s) と同じです。
...FileTest.sticky?(self.to_s) と同じです。
@see FileTest.#sticky?... -
File
. sticky?(path) -> bool (18200.0) -
FileTest.#sticky? と同じです。
...FileTest.#sticky? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。...