module AnyCache::Patches
@api private @since 0.3.1
Public Class Methods
enable!(patch_series)
click to toggle source
@param patch_series [Symbol, String] @return [void]
@raise [AnyCache::NonexistentPatchError]
@api private @since 0.3.1
# File lib/any_cache/patches.rb, line 17 def enable!(patch_series) case patch_series when :dalli_store, 'dalli_store' AnyCache::Patches::DalliStore.enable! else raise AnyCache::NonexistentPatchError, "Can't enable nonexistnet patch! (#{patch_series})" end end