るりまサーチ

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

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. comparable >
  4. integer >
  5. module >

検索結果

File.executable?(path) -> bool (39200.0)

FileTest.#executable? と同じです。

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

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

FileTest.#executable?(file) -> bool (21307.0)

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

...合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

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

例:
File
Test.executable?('/bin') # => true
File
Test.executable?('/bin/bash') # => true...

File::Stat#executable? -> bool (21213.0)

実効ユーザ/グループIDで実行できる時に真を返します。

...実効ユーザ/グループIDで実行できる時に真を返します。

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

Shell#executable?(file) -> bool (18307.0)

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

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

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

@see FileTest.#executable?...

Shell::CommandProcessor#executable?(file) -> bool (18307.0)

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

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

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

@see FileTest.#executable?...

絞り込み条件を変える

Shell::Filter#executable?(file) -> bool (18307.0)

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

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

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

@see FileTest.#executable?...