るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.027秒)
トップページ > クエリ:shell[x] > クエリ:Shell[x] > 種類:特異メソッド[x] > クエリ:unalias_command[x]

別のキーワード

  1. shell/builtin-command new
  2. etc sc_shell
  3. shell/builtin-command each
  4. shell verbose?
  5. shell notify

ライブラリ

クラス

検索結果

Shell.unalias_command(alias) -> () (56198.0)

commandのaliasを削除します.

...require 'shell'
Shell
.def_system_command("ls")
Shell
.alias_command("lsla", "ls", "-a", "-l")
Shell
.def_system_command("sort")
sh = Shell.new
sh.transact {
(lsla | sort("-k 5")).each {|l|
puts l
}
}
Shell
.unalias_command("lsla")
begin
Shell
.unalias_command("lsla")...

Shell::CommandProcessor.unalias_command(alias) -> self (24102.0)

エイリアスを削除します。

エイリアスを削除します。

@param alias 削除したいエイリアスを指定します。