6件ヒット
[1-6件を表示]
(0.328秒)
検索結果
-
Shell
. undef _ system _ command(command) -> Shell :: CommandProcessor (18113.0) -
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 err
end...