るりまサーチ

最速Rubyリファレンスマニュアル検索!
206件ヒット [1-100件を表示] (0.009秒)

別のキーワード

  1. shell tee
  2. tee new
  3. tee each
  4. filter tee
  5. shell/filter tee

検索結果

<< 1 2 3 > >>

Shell#tee(file) -> Shell::Filter (18125.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...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(file + ".tee") >> "all.tee"...

Shell::CommandProcessor#tee(file) -> Shell::Filter (18125.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...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(file + ".tee") >> "all.tee"...

Shell::Filter#tee(file) -> Shell::Filter (18125.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...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(file + ".tee") >> "all.tee"...

MatchData#byteend(n) -> Integer | nil (6100.0)

n 番目の部分文字列終端のバイトオフセットを返します。

...~ 'abcあいうdef'
p $~ # => #<MatchData "cあいうdef" 1:"c" 2:"いう" 3:"ef">
p $~.byteend(0) # => 15
p $~.byteend(1) # => 3
p $~.byteend(2) # => 12
p $~.byteend(3) # => 15
p $~.byteend(4) # => index 4 out of matches (IndexError)
//}

//emlist[シンボルを指定する例][ruby]{
/...
...(?<key>\S+):\s*(?<value>\S+)/ =~ "name: ruby"
$~ # => #<MatchData "name: ruby" key:"name" value:"ruby">
$~.byteend(:key) # => 4
$~.byteend(:value) # => 10
$~.byteend(:foo) # => undefined group name reference: foo (IndexError)
//}...

MatchData#byteend(name) -> Integer | nil (6100.0)

n 番目の部分文字列終端のバイトオフセットを返します。

...~ 'abcあいうdef'
p $~ # => #<MatchData "cあいうdef" 1:"c" 2:"いう" 3:"ef">
p $~.byteend(0) # => 15
p $~.byteend(1) # => 3
p $~.byteend(2) # => 12
p $~.byteend(3) # => 15
p $~.byteend(4) # => index 4 out of matches (IndexError)
//}

//emlist[シンボルを指定する例][ruby]{
/...
...(?<key>\S+):\s*(?<value>\S+)/ =~ "name: ruby"
$~ # => #<MatchData "name: ruby" key:"name" value:"ruby">
$~.byteend(:key) # => 4
$~.byteend(:value) # => 10
$~.byteend(:foo) # => undefined group name reference: foo (IndexError)
//}...

絞り込み条件を変える

REXML::XMLDecl#writeencoding -> bool (6100.0)

XML宣言内の encoding の宣言を出力時に省略するならば真を返します。

XML宣言内の encoding の宣言を出力時に省略するならば真を返します。

これが真であっても UTF-8 以外のエンコーディングを指定している
ならば encoding は出力されます。

DRb::DRbRemoteError (6000.0)

例外オブジェクトを wrap したクラス

例外オブジェクトを wrap したクラス

Gem::RemoteError (6000.0)

リモートで問題が発生した場合に使用する例外です。

リモートで問題が発生した場合に使用する例外です。

OpenSSL::X509::AttributeError (6000.0)

OpenSSL::X509::Attribute 関連のエラーが起きた場合に 発生する例外です。

OpenSSL::X509::Attribute 関連のエラーが起きた場合に
発生する例外です。

OpenSSL::X509::CertificateError (6000.0)

X509 証明書関連のエラーを表す例外クラスです。

X509 証明書関連のエラーを表す例外クラスです。

絞り込み条件を変える

RSS::MissingAttributeError (6000.0)

Shell::Tee (6000.0)

DRb::DRbRemoteError#reason -> String (3000.0)

wrapされている例外クラスの名前を返します。

wrapされている例外クラスの名前を返します。
<< 1 2 3 > >>