るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.010秒)
トップページ > クエリ:commandprocessor[x] > クラス:Shell[x] > バージョン:2.5.0[x]

別のキーワード

  1. commandprocessor alias_command
  2. commandprocessor rm
  3. commandprocessor []
  4. commandprocessor tee
  5. commandprocessor cat

ライブラリ

キーワード

検索結果

Shell#command_processor -> Shell::CommandProcessor (307.0)

@todo

@todo

Shell.undef_system_command(command) -> Shell::CommandProcessor (307.0)

commandを削除します.

...mmand 削除するコマンドの文字列を指定します。

動作例:
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
}
}
r...