Method: AnyCache::Drivers::ActiveSupportMemoryStore.build

Defined in:
lib/any_cache/drivers/active_support_memory_store.rb

.build(settings) ⇒ ::ActiveSupport::Cache::MemoryStore

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • settings (Qonfig::Settings)

Returns:

  • (::ActiveSupport::Cache::MemoryStore)

Since:

  • 0.2.0



22
23
24
# File 'lib/any_cache/drivers/active_support_memory_store.rb', line 22

def build(settings)
  ::ActiveSupport::Cache::MemoryStore.new(settings.options)
end