Ruby 1.9.2 リファレンスマニュアル
> ライブラリ一覧
> shell/command-processorライブラリ
> Shell::CommandProcessorクラス
> def_builtin_commands
singleton method Shell::CommandProcessor.def_builtin_commands
def_builtin_commands(delegation_class, commands_specs) -> ()
-
- [PARAM] delegation_class:
-
処理を委譲したいクラスかモジュールを指定します。
- [PARAM] commands_specs:
-
コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...]