30件ヒット
[1-30件を表示]
(0.010秒)
別のキーワード
クラス
-
Shell
:: Filter (30)
キーワード
- concat (6)
-
finish
_ all _ jobs (6) - join (6)
- transact (6)
- | (6)
検索結果
先頭5件
-
Shell
:: Filter # join(*item) -> String (6102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param item 連結したいディレクトリ名やファイル名を文字列で与えます。
@see File.join... -
Shell
:: Filter # finish _ all _ jobs (3102.0) -
@todo
@todo -
Shell
:: Filter # concat(*jobs) -> Shell :: Concat (102.0) -
@todo
@todo -
Shell
:: Filter # transact { . . . } -> object (102.0) -
ブロック中で shell を self として実行します。
ブロック中で shell を self として実行します。
例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact{
system("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
} -
Shell
:: Filter # |(filter) -> object (102.0) -
パイプ結合を filter に対して行います。
パイプ結合を filter に対して行います。
@param filter Shell::Filter オブジェクトを指定します。
@return filter を返します。
使用例
require 'shell'
Shell.def_system_command("tail")
Shell.def_system_command("head")
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
i = 1
while i <= (cat("/etc/passwd") | wc(...