るりまサーチ

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

別のキーワード

  1. _builtin to_h
  2. hash to_h
  3. array to_h
  4. env to_h
  5. struct to_h

検索結果

Pathname#writable? -> bool (27301.0)

FileTest.writable?(self.to_s) と同じです。

...FileTest.writable?(self.to_s) と同じです。


@see FileTest.#writable?...

Shell#writable?(file) -> bool (27300.0)

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

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

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable?...

Shell::CommandProcessor#writable?(file) -> bool (27300.0)

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

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

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable?...

Shell::Filter#writable?(file) -> bool (27300.0)

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

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

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable?...

File.writable?(path) -> bool (24400.0)

FileTest.#writable? と同じです。

...FileTest.#writable? と同じです。

@param path パスを表す文字列を指定します。...

絞り込み条件を変える

Pathname#world_writable? -> bool (15301.0)

FileTest.world_writable?(self.to_s) と同じです。

...FileTest.world_writable?(self.to_s) と同じです。


@see FileTest.#world_writable?...

File.world_writable?(path) -> bool (12400.0)

path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。

...path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。

整数の意味はプラットフォームに依存します。

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

//emlist[例][ruby]{
m = File.world_writable?("/tmp")
"%o" % m #=> "777"
//}...

FileTest.#world_writable?(path) -> bool (12400.0)

path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。

...path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。

整数の意味はプラットフォームに依存します。

@param path パスを表す文字列を指定し...
...ます。

m = FileTest.world_writable?("/tmp")
"%o" % m #=> "777"...