17 18 19 20 21 22 23
# File 'lib/em-synchrony/em-hiredis.rb', line 17 def pubsub return @pubsub if @pubsub client = PubsubClient.new(@host, @port, @password, @db) EM::Synchrony.sync client.connect @pubsub = client end