るりまサーチ

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

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

クラス

キーワード

検索結果

<< < ... 29 30 31 >>

REXML::Entity#to_s -> String (7.0)

実体宣言を文字列化したものを返します。

...実体宣言を文字列化したものを返します。

@see REXML::Entity#write

//emlist[][ruby]{
e =
REXML::ENTITY.new("w", "wee");
p e.to_s # => "<!ENTITY w \"wee\">"
//}...

Thread::Queue#close -> self (7.0)

キューを close します。close 済みのキューを再度 open することはできません。

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

また、ClosedQueueError は StopIteration を継承しているため、
close する事でループから脱出する事もできます。

例:

q = Queue.new
Thread.new{
while e = q.deq # wait for nil to break loop
# ...
end
}
q.close...
<< < ... 29 30 31 >>