Module: RactorRailsShim::PreSpawnSteps
- Defined in:
- lib/ractor_rails_shim/roles/pre_spawn_steps.rb
Class Method Summary collapse
-
.apply_shareable_constants ⇒ Object
Apply all registered shareable constants (deep-freeze).
-
.freeze_shareable_class_ivars ⇒ Object
Freeze shareable class ivars on the registered classes.
-
.install_framework_patches ⇒ Object
Dispatch all framework patches (idempotent).
Class Method Details
.apply_shareable_constants ⇒ Object
Apply all registered shareable constants (deep-freeze).
21 22 23 |
# File 'lib/ractor_rails_shim/roles/pre_spawn_steps.rb', line 21 def apply_shareable_constants ConstantShareabilizer.apply! end |
.freeze_shareable_class_ivars ⇒ Object
Freeze shareable class ivars on the registered classes.
26 27 28 |
# File 'lib/ractor_rails_shim/roles/pre_spawn_steps.rb', line 26 def freeze_shareable_class_ivars Freezers::ShareableClassIvarFreezer.call end |
.install_framework_patches ⇒ Object
Dispatch all framework patches (idempotent).
31 32 33 |
# File 'lib/ractor_rails_shim/roles/pre_spawn_steps.rb', line 31 def install_framework_patches Installer.dispatch_all_framework_patches end |