るりまサーチ

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

別のキーワード

  1. commandprocessor alias_command
  2. commandprocessor tee
  3. commandprocessor open
  4. commandprocessor cat

ライブラリ

クラス

検索結果

Shell::CommandProcessor.new(shell) (21102.0)

@todo

@todo

Shell.undef_system_command(command) -> Shell::CommandProcessor (108.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...