80件ヒット
[1-80件を表示]
(0.034秒)
別のキーワード
種類
- インスタンスメソッド (36)
- 特異メソッド (22)
- モジュール関数 (22)
ライブラリ
- ビルトイン (44)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12)
クラス
- File (22)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12)
モジュール
- FileTest (22)
検索結果
先頭5件
-
FileTest
. # owned?(file) -> bool (18118.0) -
ファイルのユーザがカレントプロセスの実効ユーザと等しい時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "")
File.chown(Process.uid, -1, "testfile")
FileTest.owned?("testfile")......# => true
File.chown(501, -1, "testfile")
FileTest.owned?("testfile") # => false
//}... -
File
. owned?(path) -> bool (18106.0) -
FileTest.#owned? と同じです。
...FileTest.#owned? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
Shell
# owned?(file) -> bool (18106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#owned?... -
Shell
:: CommandProcessor # owned?(file) -> bool (18106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#owned?... -
Shell
:: Filter # owned?(file) -> bool (18106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#owned?... -
FileTest
. # grpowned?(file) -> bool (6118.0) -
ファイルのグループ ID がカレントプロセスの実効グループ ID と等しい時に真を返 します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "")
File.chown(-1, Process.gid, "testfile")
FileTest.grpowned?("testfile")......# => true
File.chown(-1, Process.gid + 10, "testfile")
FileTest.grpowned?("testfile") # => false
//}... -
File
. grpowned?(path) -> bool (6106.0) -
FileTest.#grpowned? と同じです。
...FileTest.#grpowned? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
Shell
# grpowned?(file) -> bool (6106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Shell
:: CommandProcessor # grpowned?(file) -> bool (6106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Shell
:: Filter # grpowned?(file) -> bool (6106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?...