lib/gretel/trails/stores/redis_store.rb
# Reference to the Redis connection.
Reference to the Redis connection.
Reference to the Redis connection .
def redis
          @redis ||= begin
            raise "Redis needs to be installed in order for #{name} to use it. Please add `gem \"redis\"` to your Gemfile." unless defined?(Redis)
            Redis.new(connect_options)
          end
        end
def redis @redis ||= begin raise "Redis needs to be installed in order for #{name} to use it. Please add `gem \"redis\"` to your Gemfile." unless defined? ( Redis ) Redis . new ( connect_options ) end end
Reference to the Redis connection.
Reference to the Redis connection .