るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

クラス

キーワード

検索結果

<< < ... 281 282 283 >>

REXML::Child#previous_sibling=(other) (143.0)

other を self の前の隣接ノードとします。

...ther を self の前の隣接ノードとします。

つまり、親ノードが持つ子ノード列の self の前に
other を挿入します。

@param other 挿入するノード

//emlist[][ruby]{
require 'rexml/document'

a
= REXML::Element.new("a")
b = a.add_element("b")
c = REXML::Element...
....new("c")
b.next_sibling = c
d = REXML::Element.new("d")
b.previous_sibling = d

p a.to_s # => "<a><d/><b/><c/></a>"
//}...

IO#<<(object) -> self (113.0)

object を出力します。object が文字列でない時にはメソッ ド to_s を用いて文字列に変換します。

...object を出力します。object が文字列でない時にはメソッ
to_s を用いて文字列に変換します。

以下のような << の連鎖を使うことができます。

STDOUT << 1 << " is a " << Fixnum << "\n"

@param object 出力したいオブジェクトを与えま...
...す。

@raise Errno::EXXX 出力に失敗した場合に発生します。...
...object を出力します。object が文字列でない時にはメソッ
to_s を用いて文字列に変換します。

以下のような << の連鎖を使うことができます。

STDOUT << 1 << " is a " << Integer << "\n"

@param object 出力したいオブジェクトを与えま...

Shell#echo(*strings) -> Shell::Filter (113.0)

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

...Filter オブジェクトを返します.

@param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(f...
...ile).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}...
<< < ... 281 282 283 >>