るりまサーチ

最速Rubyリファレンスマニュアル検索!
729件ヒット [701-729件を表示] (0.011秒)
トップページ > クラス:Shell[x]

ライブラリ

キーワード

検索結果

<< < ... 6 7 8 >>

Shell.unalias_command(alias) -> () (1.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("...

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

Shell.verbose -> bool (1.0)

@todo

@todo

Shell.verbose=(flag) (1.0)

true ならば冗長な出力の設定を行います。

true ならば冗長な出力の設定を行います。

@param flag true ならば冗長な出力の設定を行います。

Shell.verbose? -> bool (1.0)

@todo

@todo

絞り込み条件を変える

<< < ... 6 7 8 >>