るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
10件ヒット [1-10件を表示] (0.100秒)

別のキーワード

  1. _builtin writable?
  2. _builtin writable_real?
  3. _builtin world_writable?
  4. io/wait wait_writable
  5. io wait_writable

検索結果

File::Stat#writable? -> bool (54325.0)

書き込み可能な時に真を返します。

書き込み可能な時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).writable? #=> true
//}

Pathname#writable? -> bool (54307.0)

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

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


@see FileTest.#writable?

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

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

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

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

@see FileTest.#writable?

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

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

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

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

@see FileTest.#writable?

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

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

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

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

@see FileTest.#writable?

絞り込み条件を変える

File::Stat#world_writable? -> Integer | nil (18325.0)

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

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

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

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

Pathname#world_writable? -> bool (18307.0)

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

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


@see FileTest.#world_writable?

Shell#world_writable? (18307.0)

@todo

@todo

Shell::CommandProcessor#world_writable? (18307.0)

@todo

@todo

Shell::Filter#world_writable? (18307.0)

@todo

@todo

絞り込み条件を変える