Module: Julewire::Core::RuntimeLocator
- Defined in:
- lib/julewire/core/runtime_locator.rb
Overview
Runtime swapping exists for concurrency bridges and integration tests. Application code should prefer the top-level Julewire facade.
Class Method Summary collapse
Class Method Details
.current ⇒ Object
10 11 12 |
# File 'lib/julewire/core/runtime_locator.rb', line 10 def current LocalStorage.runtime end |
.current=(runtime) ⇒ Object
14 15 16 |
# File 'lib/julewire/core/runtime_locator.rb', line 14 def current=(runtime) LocalStorage.runtime = runtime end |