class Cachext::Breaker

Attributes

config[R]

Public Class Methods

new(config) click to toggle source
# File lib/cachext/breaker.rb, line 7
def initialize(config)
  @config = config
end

Public Instance Methods

for(key) click to toggle source
# File lib/cachext/breaker.rb, line 11
def for(key)
  WithKey.new(config, key)
end