Class: Ractor::Wrapper::MethodSettings

Inherits:
Object
  • Object
show all
Defined in:
lib/ractor/wrapper.rb

Overview

Settings for a method call. Specifies how a method's arguments and return value are communicated (i.e. copy or move semantics.)

Instance Method Summary collapse

Instance Method Details

#move_arguments?Boolean

Returns Whether to move arguments.

Returns:

  • (Boolean)

    Whether to move arguments



373
374
375
# File 'lib/ractor/wrapper.rb', line 373

def move_arguments?
  @move_arguments
end

#move_return?Boolean

Returns Whether to move return values.

Returns:

  • (Boolean)

    Whether to move return values



380
381
382
# File 'lib/ractor/wrapper.rb', line 380

def move_return?
  @move_return
end