2件ヒット
[1-2件を表示]
(0.378秒)
ライブラリ
- shell (1)
-
shell
/ command-processor (1)
クラス
- Shell (1)
-
Shell
:: CommandProcessor (1)
検索結果
先頭2件
-
Shell
:: CommandProcessor . undef _ system _ command(command) -> self (81604.0) -
与えられたコマンドを削除します。
与えられたコマンドを削除します。
@param command 削除したいコマンド名を指定します。 -
Shell
. undef _ system _ command(command) -> Shell :: CommandProcessor (72922.0) -
commandを削除します.
commandを削除します.
@param command 削除するコマンドの文字列を指定します。
動作例:
require 'shell'
Shell.def_system_command("ls")
# ls を定義
Shell.undef_system_command("ls")
# ls を 削除
sh = Shell.new
begin
sh.transact {
ls("-l").each {|l|
puts l
}
}
rescue NameError => err
puts ...