ライブラリ
- ビルトイン (33)
- monitor (12)
- pathname (22)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12)
クラス
-
File
:: Stat (22) - Monitor (5)
- Mutex (2)
- Pathname (22)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) -
Thread
:: Mutex (9)
モジュール
- MonitorMixin (7)
キーワード
- grpowned? (40)
-
mon
_ owned? (12)
検索結果
先頭5件
-
File
:: Stat # owned? -> bool (21208.0) -
自分のものである時に真を返します。
...自分のものである時に真を返します。
//emlist[][ruby]{
printf "%s %s\n", $:[0], File::Stat.new($:[0]).owned?
#例
#=> /usr/local/lib/site_ruby/1.8 false
//}... -
Shell
# owned?(file) -> bool (21201.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#owned?... -
Shell
:: CommandProcessor # owned?(file) -> bool (21201.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#owned?... -
Shell
:: Filter # owned?(file) -> bool (21201.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#owned?... -
Mutex
# owned? -> bool (18220.0) -
self がカレントスレッドによってロックされている場合に true を返します。 そうでない場合に false を返します。
...self がカレントスレッドによってロックされている場合に true を返します。
そうでない場合に false を返します。
//emlist[例][ruby]{
m = Mutex.new
m.owned? # => false
m.lock
Thread.new do
m.owned? # => false
end.join
m.owned? # => true
//}... -
Thread
:: Mutex # owned? -> bool (18220.0) -
self がカレントスレッドによってロックされている場合に true を返します。 そうでない場合に false を返します。
...self がカレントスレッドによってロックされている場合に true を返します。
そうでない場合に false を返します。
//emlist[例][ruby]{
m = Mutex.new
m.owned? # => false
m.lock
Thread.new do
m.owned? # => false
end.join
m.owned? # => true
//}... -
Pathname
# owned? -> bool (18202.0) -
FileTest.owned?(self.to_s) と同じです。
...FileTest.owned?(self.to_s) と同じです。
@see FileTest.#owned?... -
File
:: Stat # grpowned? -> bool (9201.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
//}... -
Shell
# grpowned?(file) -> bool (9201.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Shell
:: CommandProcessor # grpowned?(file) -> bool (9201.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Shell
:: Filter # grpowned?(file) -> bool (9201.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Monitor
# mon _ owned? -> bool (6202.0) -
カレントスレッドがモニターをロックしているときに true を返します。
カレントスレッドがモニターをロックしているときに true を返します。 -
MonitorMixin
# mon _ owned? -> bool (6202.0) -
カレントスレッドがモニターをロックしているときに true を返します。
カレントスレッドがモニターをロックしているときに true を返します。 -
Pathname
# grpowned? -> bool (6201.0) -
FileTest.grpowned?(self.to_s) と同じです。
...FileTest.grpowned?(self.to_s) と同じです。
@see FileTest.#grpowned?...