156件ヒット
[1-100件を表示]
(0.113秒)
種類
- インスタンスメソッド (114)
- クラス (36)
- 特異メソッド (6)
ライブラリ
- drb (12)
- openssl (24)
-
rinda
/ rinda (12) -
rinda
/ tuplespace (12) - rss (12)
- shell (24)
-
shell
/ builtin-command (12) -
shell
/ command-processor (24) -
shell
/ filter (24)
クラス
-
DRb
:: DRbRemoteError (12) -
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (24) -
Shell
:: Tee (12)
キーワード
- AttributeError (12)
- CertificateError (12)
- MissingAttributeError (12)
- cat (18)
- each (6)
- echo (18)
- glob (18)
- new (6)
- notify (24)
- reason (12)
検索結果
先頭5件
-
Shell
:: CommandProcessor # tee(file) -> Shell :: Filter (21131.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(f......ile + ".tee") >> "all.tee"
}
}
}... -
Shell
# tee(file) -> Shell :: Filter (18131.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(f......ile + ".tee") >> "all.tee"
}
}
}... -
Shell
:: Filter # tee(file) -> Shell :: Filter (18131.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(f......ile + ".tee") >> "all.tee"
}
}
}... -
OpenSSL
:: X509 :: AttributeError (12000.0) -
OpenSSL::X509::Attribute 関連のエラーが起きた場合に 発生する例外です。
...OpenSSL::X509::Attribute 関連のエラーが起きた場合に
発生する例外です。... -
OpenSSL
:: X509 :: CertificateError (12000.0) -
X509 証明書関連のエラーを表す例外クラスです。
X509 証明書関連のエラーを表す例外クラスです。 -
RSS
:: MissingAttributeError (12000.0) -
-
DRb
:: DRbRemoteError # reason -> String (9100.0) -
wrapされている例外クラスの名前を返します。
...wrapされている例外クラスの名前を返します。... -
Shell
:: Tee # each(rs = nil) {|line| . . . } (9100.0) -
@todo
@todo -
Shell
# cat(*files) -> Shell :: Filter (6124.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(......file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: CommandProcessor # cat(*files) -> Shell :: Filter (6124.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(......file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: Filter # cat(*files) -> Shell :: Filter (6124.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(......file + ".tee") >> "all.tee"
}
}
}... -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (3300.0) -
event で指定した種類のイベントの監視を開始します。
...。
イベントを生じさせたタプルがpattern にマッチした場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
se......で無限に監視し続けます。
event として以下の3つを指定できます。
* 'write' : タプルが追加された
* 'take' : タプルが take された
* 'delete' : タプルが有効期限切れや上書きされたなどでタプルスペースから削除された
これ......pattern で指定できるパターンについては lib:rinda/rinda#tuplepattern を
参照してください。
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数)
=== 例
require 'rinda/tu...