Module: JobWorkflow::CacheStoreAdapters
- Defined in:
- lib/job_workflow/cache_store_adapters.rb
Class Method Summary collapse
-
.current ⇒ Object
: () -> ActiveSupport::Cache::Store.
-
.reset! ⇒ Object
: () -> void.
Class Method Details
.current ⇒ Object
: () -> ActiveSupport::Cache::Store
19 20 21 |
# File 'lib/job_workflow/cache_store_adapters.rb', line 19 def current self._current ||= detect_adapter end |
.reset! ⇒ Object
: () -> void
24 25 26 |
# File 'lib/job_workflow/cache_store_adapters.rb', line 24 def reset! self._current = nil end |