るりまサーチ

最速Rubyリファレンスマニュアル検索!
80件ヒット [1-80件を表示] (0.042秒)
トップページ > クエリ:File[x] > クエリ:IO[x] > クエリ:owned?[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io readlines
  4. io each_line
  5. io each

ライブラリ

クラス

モジュール

検索結果

File.owned?(path) -> bool (39106.0)

FileTest.#owned? と同じです。

...
File
Test.#owned? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

File.grpowned?(path) -> bool (27106.0)

FileTest.#grpowned? と同じです。

...
File
Test.#grpowned? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

FileTest.#owned?(file) -> bool (21243.0)

ファイルのユーザがカレントプロセスの実効ユーザと等しい時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

...ram file ファイル名を表す文字列か IO オブジェクトを指定します。

@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。

//emlist[例][ruby]{
IO
.write("testfile", "")
File
.chown(Process.uid, -1, "testfile")
File
Te...
...st.owned?("testfile") # => true
File
.chown(501, -1, "testfile")
File
Test.owned?("testfile") # => false
//}...

Shell#owned?(file) -> bool (18213.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#owned?...

Shell::CommandProcessor#owned?(file) -> bool (18213.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#owned?...

絞り込み条件を変える

Shell::Filter#owned?(file) -> bool (18213.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#owned?...

FileTest.#grpowned?(file) -> bool (9243.0)

ファイルのグループ ID がカレントプロセスの実効グループ ID と等しい時に真を返 します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

...ram file ファイル名を表す文字列か IO オブジェクトを指定します。

@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。

//emlist[例][ruby]{
IO
.write("testfile", "")
File
.chown(-1, Process.gid, "testfile")
File
Te...
...st.grpowned?("testfile") # => true
File
.chown(-1, Process.gid + 10, "testfile")
File
Test.grpowned?("testfile") # => false
//}...

Shell#grpowned?(file) -> bool (6213.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#grpowned?...

Shell::CommandProcessor#grpowned?(file) -> bool (6213.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#grpowned?...

Shell::Filter#grpowned?(file) -> bool (6213.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#grpowned?...

絞り込み条件を変える