62件ヒット
[1-62件を表示]
(0.095秒)
種類
- インスタンスメソッド (40)
- 特異メソッド (11)
- モジュール関数 (11)
ライブラリ
- ビルトイン (33)
- pathname (11)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
- File (11)
-
File
:: Stat (11) - Pathname (11)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
- FileTest (11)
検索結果
先頭5件
-
File
:: Stat # sticky? -> bool (21207.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 (21200.0) -
FileTest.#sticky? と同じです。
...FileTest.#sticky? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
FileTest
. # sticky?(file) -> bool (21200.0) -
ファイルの sticky ビット(chmod(2) 参照)が 立っている時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...lse を返します。
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
//emlist[例][ruby]{
require 'fileutils'
IO.write("testfile", "")
FileUtils.chmod("o+t", "testfile")
FileTest.sticky?("testfile") # => true
FileUtils.chmod("o-t", "testfile")
Fil......eTest.sticky?("testfile") # => false
//}... -
Shell
# sticky?(file) -> bool (21200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky?... -
Shell
:: CommandProcessor # sticky?(file) -> bool (21200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky?... -
Shell
:: Filter # sticky?(file) -> bool (21200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky?... -
Pathname
# sticky? -> bool (18201.0) -
FileTest.sticky?(self.to_s) と同じです。
...FileTest.sticky?(self.to_s) と同じです。
@see FileTest.#sticky?...