るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.062秒)
トップページ > バージョン:2.4.0[x] > ライブラリ:ビルトイン[x] > クエリ:p[x] > クエリ:executable_real?[x]

別のキーワード

  1. _builtin executable_real?
  2. _builtin executable?
  3. pathname executable_real?
  4. pathname executable?
  5. mkmf find_executable

検索結果

File.executable_real?(path) -> bool (54607.0)

FileTest.#executable_real? と同じです。

FileTest.#executable_real? と同じです。

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

File::Stat#executable_real? -> bool (54346.0)

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

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

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