Sha256: 065f2ac50c2c1e4dc4f56dcfa0039894d5d7acc2f45924c3bed506f22512d1b6
Contents?: true
Size: 175 Bytes
Versions: 4
Compression:
Stored size: 175 Bytes
Contents
module ConnectionHelper def connect(url = nil, &blk) em do redis = EventMachine::Hiredis.connect(url) redis.flushall blk.call(redis) end end end
Version data entries
4 entries across 4 versions & 2 rubygems