108件ヒット
[1-100件を表示]
(0.071秒)
別のキーワード
種類
- インスタンスメソッド (60)
- 特異メソッド (24)
- モジュール関数 (24)
ライブラリ
- ビルトイン (48)
- pathname (24)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12)
クラス
- File (24)
- Pathname (24)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12)
モジュール
- FileTest (24)
検索結果
先頭5件
-
Shell
# writable?(file) -> bool (18112.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Shell
:: CommandProcessor # writable?(file) -> bool (18112.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Shell
:: Filter # writable?(file) -> bool (18112.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Pathname
# writable? -> bool (18107.0) -
FileTest.writable?(self.to_s) と同じです。
...FileTest.writable?(self.to_s) と同じです。
@see FileTest.#writable?... -
File
. writable?(path) -> bool (18106.0) -
FileTest.#writable? と同じです。
...FileTest.#writable? と同じです。
@param path パスを表す文字列を指定します。... -
FileTest
. # writable?(file) -> bool (18106.0) -
ファイルがカレントプロセスにより書き込み可能である時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...は false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("testfile", "test")
File.chmod(0600, "testfile")
FileTest.writable?("testfile") # => true
File.chmod(0400, "testfile")
FileTest.writable?("testfile") # => false
/... -
Shell
# world _ writable? (6117.0) -
@todo
...@todo... -
Shell
:: CommandProcessor # world _ writable? (6117.0) -
@todo
...@todo... -
Shell
:: Filter # world _ writable? (6117.0) -
@todo
...@todo... -
Pathname
# world _ writable? -> bool (6107.0) -
FileTest.world_writable?(self.to_s) と同じです。
...FileTest.world_writable?(self.to_s) と同じです。
@see FileTest.#world_writable?... -
File
. world _ writable?(path) -> bool (6106.0) -
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
...ない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列か IO オブジェクトを指定します。
//emlist[例][ruby]{
m = File.world_writable?("/tmp")
"%o" % m #=> "777"
//}......でない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列か IO オブジェクトを指定します。
//emlist[例][ruby]{
m = File.world_writable?("/tmp")
"%o" % m #=> "777"
//}... -
FileTest
. # world _ writable?(path) -> bool (6106.0) -
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
...を表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列を指定します。
m = FileTest.world_writable?("/tmp")
"%o" % m #=> "777"...