module AnyCache::Patches::DalliStore
@api private @since 0.3.1
Public Class Methods
enable!()
click to toggle source
@return [void]
@api private @since 0.3.1
# File lib/any_cache/patches/dalli_store.rb, line 11 def enable! defined?(::Dalli) && defined?(::ActiveSupport::Cache::DalliStore) && Gem::Version.new(::Dalli::VERSION) <= Gem::Version.new('2.7.8') && ::ActiveSupport::Cache::DalliStore.prepend(ActiveSupportFetchWithKey) end