62件ヒット
[1-62件を表示]
(0.071秒)
種類
- インスタンスメソッド (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 # grpowned? -> bool (24213.0) -
グループIDが実効グループIDと等しい時に真を返します。
...ープIDと等しい時に真を返します。
補助グループIDは考慮されません。
//emlist[][ruby]{
printf "%s %s\n", $:[0], File::Stat.new($:[0]).grpowned?
#例
#=> /usr/local/lib/site_ruby/1.8 false
printf "%s %s\n", $0, File::Stat.new($0).grpowned?
#例
#=> filestat.rb true
//}... -
Pathname
# grpowned? -> bool (24201.0) -
FileTest.grpowned?(self.to_s) と同じです。
...FileTest.grpowned?(self.to_s) と同じです。
@see FileTest.#grpowned?... -
File
. grpowned?(path) -> bool (24200.0) -
FileTest.#grpowned? と同じです。
...FileTest.#grpowned? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
FileTest
. # grpowned?(file) -> bool (24200.0) -
ファイルのグループ ID がカレントプロセスの実効グループ ID と等しい時に真を返 します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...ます。
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "")
File.chown(-1, Process.gid, "tes......tfile")
FileTest.grpowned?("testfile") # => true
File.chown(-1, Process.gid + 10, "testfile")
FileTest.grpowned?("testfile") # => false
//}... -
Shell
# grpowned?(file) -> bool (24200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Shell
:: CommandProcessor # grpowned?(file) -> bool (24200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Shell
:: Filter # grpowned?(file) -> bool (24200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?...