Module: JobWorkflow::CacheStoreAdapters

Defined in:
lib/job_workflow/cache_store_adapters.rb,
sig/generated/job_workflow/cache_store_adapters.rbs

Constant Summary collapse

NAMESPACE =

Signature:

  • String

Returns:

  • (String)
"job_workflow"
DEFAULT_OPTIONS =

Signature:

  • Hash[Symbol, untyped]

Returns:

  • (Hash[Symbol, untyped])
{ namespace: NAMESPACE }.freeze

Class Method Summary collapse

Class Method Details

._currentActiveSupport::Cache::Store

Returns:

  • (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.

Parameters:

  • (ActiveSupport::Cache::Store, nil)


11
# File 'sig/generated/job_workflow/cache_store_adapters.rbs', line 11

def self._current=: (ActiveSupport::Cache::Store?) -> void

.currentActiveSupport::Cache::Store

: () -> ActiveSupport::Cache::Store

Returns:

  • (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