module Dry::Core::Cache::Methods

def fetch_or_store(*args, &block)

Returns:
  • (Object) - block's return value

Other tags:
    Yield: - An arbitrary block

Parameters:
  • args (Array) -- List of hashable objects
    def fetch_or_store(*args, &block)
      self.class.fetch_or_store(*args, &block)
    end