D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Ractor
/
MovedObject
/
Filename :
cdesc-MovedObject.ri
back
Copy
U:RDoc::NormalClass[iI"MovedObject:ETI"Ractor::MovedObject;TI"BasicObject;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"_A special object which replaces any value that was moved to another ractor in Ractor#send ;TI"Uor Ractor.yield. Any attempt to access the object results in Ractor::MovedError.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[ I" r = Ractor.new { receive } ;TI" ;TI"ary = [1, 2, 3] ;TI"r.send(ary, move: true) ;TI"#p Ractor::MovedObject === ary ;TI"# => true ;TI"ary.inspect ;TI"F# Ractor::MovedError (can not send any methods to a moved object);T:@format0: @fileI" ractor.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[[I"!;TI" ractor.c;T[I"!=;T@2[I"==;T@2[I"__id__;T@2[I" __send__;T@2[I"equal?;T@2[I"instance_eval;T@2[I"instance_exec;T@2[I"method_missing;T@2[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@I"Ractor;TcRDoc::NormalClass