るりまサーチ

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

別のキーワード

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

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Shell::SystemCommand#command -> String (27201.0)

@todo

@todo

コマンド名を返します。

IRB::ContextExtender.install_extend_commands -> object (24412.0)

定義済みの拡張を読み込みます。

...:Context で以下のメソッドが利用できるようになります。

* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=

irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。

@see IRB::ContextExtender.def_extend_c...

IRB::ExtendCommandBundle.install_extend_commands -> object (24406.0)

定義済みの拡張を読み込みます。

...1 つだけ抜粋)

* irb_current_working_workspace
* irb_change_workspace
* irb_workspaces
* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb_kill
* irb_help

irb/extend-command が require された時にライブラリ内...
...部で自動的
に実行されます。

@see IRB::ExtendCommandBundle.install_extend_commands...

Shell::CommandProcessor.install_system_commands(prefix = "sys_") -> () (24400.0)

全てのシステムコマンドをメソッドとして定義します。

...うプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。

@param prefix プレフィクスを指定します。...

Shell::Filter#>(to) -> self (24318.0)

toをフィルタの出力とする。 toが, 文字列ならばファイルに, IOオブジェクトであれ ばそれをそのまま出力とする。

...ルに,IOオブジェクトならばそれに出力します。

使用例
require 'shell'
Shell.def_system_command("tail")
sh = Shell.new
sh.transact {
(sh.tail("-n 3") < "/etc/passwd") > File.open("tail.out", "w")
#(sh.tail("-n 3") < "/etc/passwd") > "tail.out" # と同じ.
}...

絞り込み条件を変える

rubygems/commands/lock_command (24018.0)

指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。

...指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために
必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。

Usage: gem lock GEMNAME-VERSION [GEMNAME-VERSION ...] [options]
Options:
-s, --[no-]strict...
...Gem パッケージの名前を指定します
VERSION ロックする Gem パッケージのバージョンを指定します
Summary:
特定バージョンの Gem パッケージを使用するために必要な記述を表示します
Description:
The lock command...
...or the gem given in the command line. It will specify exact
versions in the requirements list to ensure that the gems loaded will always
be consistent. A full recursive search of all effected gems will be
generated.

E
xample:

gemlock rails-1.0.0 > lockd...

rubygems/commands/help_command (24012.0)

Gem コマンドに関するヘルプを提供するためのライブラリです。

...Gem コマンドに関するヘルプを提供するためのライブラリです。

Usage: gem help ARGUMENT [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします...
...fig-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
command
s gem コ...
...マンドのサブコマンドの一覧を表示します
e
xamples gem コマンドの使用例を表示します
<command> 指定されたコマンドのヘルプを表示します
Summary:
gem コマンドに関するヘルプを提供します...

Gem::CommandManager#find_command_possibilities(command_name) -> Array (21508.0)

登録されているコマンドでマッチする可能性のあるものを返します。

...登録されているコマンドでマッチする可能性のあるものを返します。

@param command_name コマンド名を文字列で指定します。...

Shell::CommandProcessor.def_builtin_commands(delegation_class, commands_specs) -> () (21500.0)

@todo

...@todo

@param delegation_class 処理を委譲したいクラスかモジュールを指定します。

@param commands_specs コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...]...

Shell.install_system_commands(pre = "sys_") -> () (21424.0)

system_path上にある全ての実行可能ファイルをShellに定義する. メソッ ド名は元のファイル名の頭にpreをつけたものとなる.

...system_path上にある全ての実行可能ファイルをShellに定義する. メソッ
ド名は元のファイル名の頭にpreをつけたものとなる.

@param pre Shellに定義するメソッド名の先頭に付加される文字列を指定します。

使用例: ls -l | head -n 5...
...のような例。

require 'shell'
Shell.install_system_commands
sh = Shell.new
sh.verbose = false
sh.transact {
(sys_ls("-l") | sys_head("-n 5")).each {|l|
puts l
}
}...

絞り込み条件を変える

IRB::ExtendCommandBundle.def_extend_command(cmd_name, cmd_class, load_file = nil, *aliases) -> object (21401.0)

irb に cmd_name で指定したメソッドが実行できるように拡張します。

...irb に cmd_name で指定したメソッドが実行できるように拡張します。

@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ...
...aram cmd_class 指定した拡張が定義されたクラス名を Symbol
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。

@param load_file 指定...
...require されます。

@param aliases cmd_name の別名を Symbol とフラグの配列で指定しま
す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY...

Gem::Commands::BuildCommand#load_gemspecs(filename) -> Array (21300.0)

gemspec ファイルをロードします。

...gemspec ファイルをロードします。

@param filename ファイル名を指定します。...
<< 1 2 3 ... > >>