Class: Ractor::Wrapper::MethodSettings
- Inherits:
-
Object
- Object
- Ractor::Wrapper::MethodSettings
- 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
-
#execute_blocks_in_place? ⇒ Boolean
Whether to call blocks in-place.
-
#move_arguments? ⇒ Boolean
Whether to move arguments.
-
#move_block_arguments? ⇒ Boolean
Whether to move arguments to a block.
-
#move_block_results? ⇒ Boolean
Whether to move block results.
-
#move_results? ⇒ Boolean
Whether to move return values.
Instance Method Details
#execute_blocks_in_place? ⇒ Boolean
Returns Whether to call blocks in-place.
259 260 261 |
# File 'lib/ractor/wrapper.rb', line 259 def execute_blocks_in_place? @execute_blocks_in_place end |
#move_arguments? ⇒ Boolean
Returns Whether to move arguments.
231 232 233 |
# File 'lib/ractor/wrapper.rb', line 231 def move_arguments? @move_arguments end |
#move_block_arguments? ⇒ Boolean
Returns Whether to move arguments to a block.
245 246 247 |
# File 'lib/ractor/wrapper.rb', line 245 def move_block_arguments? @move_block_arguments end |
#move_block_results? ⇒ Boolean
Returns Whether to move block results.
252 253 254 |
# File 'lib/ractor/wrapper.rb', line 252 def move_block_results? @move_block_results end |
#move_results? ⇒ Boolean
Returns Whether to move return values.
238 239 240 |
# File 'lib/ractor/wrapper.rb', line 238 def move_results? @move_results end |