るりまサーチ

最速Rubyリファレンスマニュアル検索!
498件ヒット [1-100件を表示] (0.102秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle align_size_t

検索結果

<< 1 2 3 ... > >>

DRb::ExtServManager.command -> { String => String|[String] } (21408.0)

サービスを起動するためのコマンドを指定するための Hash を 返します。

...のサービスを起動するためのコマンドです。
この Hash を変更することでサービスを定義します。
DRb::ExtServManager.command= で Hash 自体を
変更することでも同じことができます。

コマンドは文字列、もしくは文字列の配列で指...

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

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

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

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

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

@see IRB::ContextExtender.def_extend_...

IRB::ContextExtender.def_extend_command(cmd_name, load_file, *aliases) -> object (21202.0)

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

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

@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま...

IRB::ExtendCommandBundle.install_extend_commands -> object (18207.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...

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

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

...cute メソッドとして定
義してある必要があります。

@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand...
...す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。...

絞り込み条件を変える

Shell::CommandProcessor.def_system_command(command, path = command) -> () (15422.0)

@todo

...@todo

与えられたコマンドをメソッドとして定義します。

@param command 定義したいコマンドを指定します。

@param path command のパスを指定します。省略すると環境変数 PATH から command を探します。...

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

@todo

...@todo

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

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

Shell::CommandProcessor.undef_system_command(command) -> self (15309.0)

与えられたコマンドを削除します。

...与えられたコマンドを削除します。

@param command 削除したいコマンド名を指定します。...

Shell::CommandProcessor.add_delegate_command_to_shell(id) (15202.0)

@todo

...@todo

Shell 自体を初期化する時に呼び出されるメソッドです。
ユーザが使用することはありません。

@param id メソッド名を指定します。...

Shell::CommandProcessor.install_builtin_commands -> () (15201.0)

ビルトインコマンドを定義します。

ビルトインコマンドを定義します。

絞り込み条件を変える

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

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

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

既に定義されているコマンドを再定義することはありません。
デフォルトでは全てのコマンドに "sys_" というプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。

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

Shell.def_system_command(command, path = command) -> nil (12450.0)

Shell のメソッドとして command を登録します.

...ell のメソッドとして command を登録します.

OS上のコマンドを実行するにはまず, Shellのメソッドとして定義します.
注) コマンドを定義しなくとも直接実行できる Shell#system コマンドもあります.

@param command Shell のメソッドと...
...す。

@param path command のパスを指定します。
指定しない場合はcommand と同じになります。

例)
require 'shell'
Shell.def_system_command "ls"
# ls を定義

Shell.def_system_command "sys_sort", "sort"
# sortコマンドをsys_sortとして定義...
...sh = Shell.new
sh.transact {
ls.each { |l|
puts l
}
(ls("-l") | sys_sort("-k 5")).each {|l|
puts l
}
}...
<< 1 2 3 ... > >>