Exception: Cache::DriverNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/cache.rb

Instance Method Summary collapse

Constructor Details

#initialize(client_class) ⇒ DriverNotFound

Returns a new instance of DriverNotFound.



6
7
8
# File 'lib/cache.rb', line 6

def initialize(client_class)
  @client_class = client_class
end

Instance Method Details

#messageObject



10
11
12
# File 'lib/cache.rb', line 10

def message
  "The cache gem doesn't support #{@client_class} yet"
end