Exception: NoRedisError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- NoRedisError
- Defined in:
- lib/classifier-reborn/backends/no_redis_error.rb
Instance Method Summary collapse
-
#initialize ⇒ NoRedisError
constructor
A new instance of NoRedisError.
Constructor Details
#initialize ⇒ NoRedisError
Returns a new instance of NoRedisError.
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/classifier-reborn/backends/no_redis_error.rb', line 4 def initialize msg = %q(The Redis Backend can only be used if Redis is installed. This error is raised from 'lib/classifier-reborn/backends/bayes_redis_backend.rb'. If you have encountered this error and would like to use the Redis Backend, please run 'gem install redis' or include 'gem "redis"' in your gemfile. For more info see https://github.com/jekyll/classifier-reborn#usage. ) super(msg) end |