Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 291 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 291 Bytes

Tiny Ruby Redis Client

Need to talk to Redis but can't / don't want to add gem dependency? Just copy contents of tiny_redis.rb file into your script and there you have it:

redis = TinyRedis.new("127.0.0.1", 6379)
redis.set("foo", "bar")
redis.get("foo") # -> "bar"
redis.close