るりまサーチ

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

別のキーワード

  1. kernel $-l
  2. matrix l
  3. _builtin $-l
  4. lupdecomposition l
  5. $-l kernel

検索結果

<< 1 2 3 > >>

Gem::Specification#executable -> String (24301.0)

実行可能ファイル名を返します。

実行可能ファイル名を返します。

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

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

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

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

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

FileTest.#executable_real?(file) -> bool (15413.0)

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

...どには false を返します。

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

//emlist[例][ruby]{
IO.write("empty.txt", "")
File.chmod(0744, "empty.txt")
FileTest.executable_real?("empty.txt") # => true
File.chmod(0644, "empty.txt")
FileTest.executable_real?("empty.tx...
...t") # => false
//}...

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

FileTest.#executable? と同じです。

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

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

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

FileTest.#executable_real? と同じです。

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

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

絞り込み条件を変える

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

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

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

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

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

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

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

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

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

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

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

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

@see FileTest.#executable?...

Shell#executable_real?(file) -> bool (12407.0)

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

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

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

@see FileTest.#executable_real?...

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

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

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

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

@see FileTest.#executable?...

絞り込み条件を変える

Shell::CommandProcessor#executable_real?(file) -> bool (12407.0)

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

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

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

@see FileTest.#executable_real?...
<< 1 2 3 > >>