class Ractor::MovedObject
A special object which replaces any value that was moved to another ractor in Ractor#send or Ractor::Port#send. Any attempt to access the object results in Ractor::MovedError.
r = Ractor.new { receive } ary = [1, 2, 3] r.send(ary, move: true) p Ractor::MovedObject === ary # => true ary.inspect # Ractor::MovedError (can not send any methods to a moved object)
Public Instance Methods
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 686
def !: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 693
def !=: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 700
def ==: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 707
def __id__: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 714
def __send__: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 721
def equal?: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 728
def instance_eval: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 735
def instance_exec: (*untyped) -> untyped
(*untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/core/ractor.rbs, line 742
def method_missing: (*untyped) -> untyped