Module: RactorRailsShim::Storage::IES
- Defined in:
- lib/ractor_rails_shim/foundation/storage.rb
Overview
Delegates to the real ActiveSupport::IsolatedExecutionState when AS is
loaded. Methods are class methods on the module's singleton class so
callers do Storage::IES[key].
Class Method Summary collapse
Class Method Details
.[](key) ⇒ Object
29 30 31 |
# File 'lib/ractor_rails_shim/foundation/storage.rb', line 29 def [](key) ActiveSupport::IsolatedExecutionState[key] end |
.[]=(key, value) ⇒ Object
33 34 35 |
# File 'lib/ractor_rails_shim/foundation/storage.rb', line 33 def []=(key, value) ActiveSupport::IsolatedExecutionState[key] = value end |
.delete(key) ⇒ Object
41 42 43 |
# File 'lib/ractor_rails_shim/foundation/storage.rb', line 41 def delete(key) ActiveSupport::IsolatedExecutionState.delete(key) end |
.key?(key) ⇒ Boolean
37 38 39 |
# File 'lib/ractor_rails_shim/foundation/storage.rb', line 37 def key?(key) ActiveSupport::IsolatedExecutionState.key?(key) end |