D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Thread
/
Filename :
value-i.ri
back
Copy
U:RDoc::AnyMethod[iI" value:ETI"Thread#value;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OWaits for +thr+ to complete, using #join, and returns its value or raises ;TI"/the exception which terminated the thread.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"a = Thread.new { 2 + 2 } ;TI"a.value #=> 4 ;TI" ;TI"5b = Thread.new { raise 'something went wrong' } ;TI"5b.value #=> RuntimeError: something went wrong;T:@format0: @fileI" thread.c;T:0@omit_headings_from_table_of_contents_below0I"thr.value -> obj ;T0[ I"();T@FI"Thread;TcRDoc::NormalClass00