るりまサーチ

最速Rubyリファレンスマニュアル検索!
1084件ヒット [201-300件を表示] (0.064秒)
トップページ > クエリ:-[x] > クエリ:exec[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

モジュール

検索結果

<< < 1 2 3 4 5 ... > >>

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

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

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

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

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

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

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

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

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

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

ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには 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.txt") # => false
//}...

Gem::Command#execute -> () (6200.0)

このメソッドはサブクラスで再定義されます。 コマンドを実行します。

このメソッドはサブクラスで再定義されます。
コマンドを実行します。

@raise RuntimeError このメソッドがサブクラスで再定義されていない場合に発生します。

Gem::Commands::BuildCommand#execute -> () (6200.0)

コマンドを実行します。

コマンドを実行します。

絞り込み条件を変える

Gem::Commands::DependencyCommand#execute -> () (6200.0)

コマンドを実行します。

コマンドを実行します。

Gem::Specification#default_executable -> String | nil (6200.0)

Gem パッケージ内で gem コマンド経由で実行するファイルを返します。

Gem パッケージ内で gem コマンド経由で実行するファイルを返します。

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

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

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

Gem::Specification#executables -> [String] (6200.0)

実行可能ファイル名のリストを返します。

実行可能ファイル名のリストを返します。
<< < 1 2 3 4 5 ... > >>