るりまサーチ (Ruby 2.3.0)

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

別のキーワード

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

検索結果

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

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

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

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

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

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

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

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

FileTest.#executable_real?(file) -> bool (45940.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.ex...

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

FileTest.#executable? と同じです。

FileTest.#executable? と同じです。

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

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

FileTest.#executable_real? と同じです。

FileTest.#executable_real? と同じです。

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

絞り込み条件を変える

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

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

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

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

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

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

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

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

Gem::Specification#executable=(executable) (37225.0)

実行可能ファイル名をセットします。

実行可能ファイル名をセットします。

@param executable 実行可能ファイル名を指定します。

Gem::Specification#executables=(executables) (37201.0)

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

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

@param executables 実行可能ファイル名のリストを指定します。

Gem::Specification#default_executable=(executable) (36925.0)

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

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

@param executable 実行ファイルを指定します。

絞り込み条件を変える

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

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

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

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

@see FileTest.#executable?

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

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

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

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

@see FileTest.#executable_real?

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

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

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

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

@see FileTest.#executable?

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

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

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

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

@see FileTest.#executable_real?

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

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

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

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

@see FileTest.#executable?

絞り込み条件を変える

Shell::Filter#executable_real?(file) -> bool (36922.0)

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

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

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

@see FileTest.#executable_real?

Pathname#executable? -> bool (36670.0)

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

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


@see FileTest.#executable?

Pathname#executable_real? -> bool (36670.0)

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

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


@see FileTest.#executable_real?

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

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

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

Kernel#find_executable(bin, path = nil) -> String | nil (36604.0)

パス path から実行ファイル bin を探します。

パス path から実行ファイル bin を探します。

実行ファイルが見つかった場合は、そのフルパスを返します。
実行ファイルが見つからなかった場合は、nilを返します。

このメソッドは Makefile を変更しません。

@param bin 実行ファイルの名前を指定します。

@param path パスを指定します。デフォルトは環境変数 PATH です。
環境変数 PATH が定義されていない場合は /usr/local/bin,
/usr/ucb, /usr/bin, /bin を使います。

絞り込み条件を変える

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

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

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

Gem::Uninstaller#remove_executables(gemspec) (36601.0)

与えられた Gem::Specification に対応する実行ファイルを削除します。

与えられた Gem::Specification に対応する実行ファイルを削除します。

@param gemspec アンインストール指定されている Gem の Gem::Specification を指定します。

Gem::DependencyInstaller::DEFAULT_OPTIONS -> Hash (18319.0)

自身を初期化する際に使用するデフォルトのオプションです。

自身を初期化する際に使用するデフォルトのオプションです。

:env_shebang => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. Al...

rubygems/commands/install_command (18055.0)

Gem パッケージをローカルリポジトリにインストールするためのライブラリです。

Gem パッケージをローカルリポジトリにインストールするためのライブラリです。

Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定されたバージョンの Gem パッケージをインストールします
Install/Update Op...

Gem::DependencyInstaller.new(options = {}) -> Gem::DependencyInstaller (9319.0)

自身を初期化します。

自身を初期化します。

オプションとして以下のものを利用できます。

: :cache_dir
*.gem ファイルを保存するディレクトリを指定します。
: :domain
:local (カレントディレクトリのみ検索します), :remote (Gem.sources を検索します),
:both (:local, :remote の両方を検索します) のいずれかを指定可能です。
: :env_shebang
Gem::Installer.new を参照してください。
: :force
バージョンチェックとセキュリティポリシーのチェックを行わずにインストールを実行します...

絞り込み条件を変える

Gem::Installer.new(gem, options = {}) -> Gem::Installer (9319.0)

@todo 書いてないオプションがいっぱいある

@todo 書いてないオプションがいっぱいある

与えられた引数で自身を初期化します。

@param gem インストール対象の Gem のパスを指定します。

@param options インストーラが使用するオプションをハッシュで指定します。
使用できるキーは以下の通りです。
: :env_shebang
コマンドのラッパーで shebang line に /usr/bin/env を使用します。
: :force
署名された Gem のみをインストールするというポリシー以外、
全てのバージョンチェックとセキュリティポリシーのチェックを行わない...

Gem::Specification#add_bindir(executables) -> Array | nil (601.0)

実行コマンドの格納場所を返します。

実行コマンドの格納場所を返します。

@param executables 実行コマンド名を格納した配列を指定します。