Module: JobWorkflow::CacheStoreAdapters
- Defined in:
- lib/job_workflow/cache_store_adapters.rb,
sig/generated/job_workflow/cache_store_adapters.rbs
Constant Summary collapse
- NAMESPACE =
"job_workflow"- DEFAULT_OPTIONS =
{ namespace: NAMESPACE }.freeze
Class Method Summary collapse
- ._current ⇒ ActiveSupport::Cache::Store
- ._current= ⇒ void
-
.current ⇒ ActiveSupport::Cache::Store
: () -> ActiveSupport::Cache::Store.
-
.reset! ⇒ void
: () -> void.
Class Method Details
._current ⇒ ActiveSupport::Cache::Store
9 |
# File 'sig/generated/job_workflow/cache_store_adapters.rbs', line 9
def self._current: () -> ActiveSupport::Cache::Store
|
._current= ⇒ void
This method returns an undefined value.
11 |
# File 'sig/generated/job_workflow/cache_store_adapters.rbs', line 11
def self._current=: (ActiveSupport::Cache::Store?) -> void
|
.current ⇒ ActiveSupport::Cache::Store
: () -> ActiveSupport::Cache::Store
19 20 21 |
# File 'lib/job_workflow/cache_store_adapters.rb', line 19 def current self._current ||= detect_adapter end |
.reset! ⇒ void
This method returns an undefined value.
: () -> void
24 25 26 |
# File 'lib/job_workflow/cache_store_adapters.rb', line 24 def reset! self._current = nil end |