Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #14 from Spantree/master

Fixing docs to reflect proper withRedis usage
  • Loading branch information...
commit 94fb726fa3471d813b1606703eb7a4c639456e72 2 parents 3ba51fc + dc041ea
@tednaleid tednaleid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1 
2 
@@ -70,7 +70,7 @@ The service overrides `propertyMissing` and `methodMissing` to delegate any miss
It also provides a template method called `withRedis` that takes a closure as a parameter. It passes a Jedis connection object to Redis into the closure. The template method automatically gets an object out of the pool and ensures that it gets returned to the pool after the closure finishes (even if there's an error).
- redisService.withRedis {
+ redisService.withRedis { Jedis redis ->
redis.set("foo", "bar")
Please sign in to comment.
Something went wrong with that request. Please try again.