るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 > >>

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

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

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

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

Net::FTP::MLSxEntry#writable? -> bool (30301.0)

ファイルに書き込めるなら true を返します。

...ファイルに書き込めるなら true を返します。...

Pathname#writable? -> bool (30301.0)

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

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


@see FileTest.#writable?...

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

FileTest.#writable? と同じです。

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

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

FileTest.#writable?(file) -> bool (30300.0)

ファイルがカレントプロセスにより書き込み可能である時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

...false を返します。

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

//emlist[例][ruby]{
I
O.write("testfile", "test")
File.chmod(0600, "testfile")
FileTest.writable?("testfile") # => true
File.chmod(0400, "testfile")
FileTest.writable?("testfile") # => false
//}...

絞り込み条件を変える

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

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

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

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

@see FileTest.#writable?...

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

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

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

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

@see FileTest.#writable?...

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

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

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

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

@see FileTest.#writable?...

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

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

...ーミッションを表す
整数を返します。そうでない場合は nil を返します。

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

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

Pathname#world_writable? -> bool (18301.0)

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

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


@see FileTest.#world_writable?...

絞り込み条件を変える

Shell#world_writable? (18301.0)

@todo

@todo

Shell::CommandProcessor#world_writable? (18301.0)

@todo

@todo
<< 1 2 > >>