Sha256: a08272acaae7548884102e2f27ccaae7eaad9aa578c97c6e70de266b3f1a7d07
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
class Subscription def subscribe(&block) if block_given? then @subscribe = block else @subscribe end end def unsubscribe(&block) if block_given? then @unsubscribe = block else @unsubscribe end end def message(&block) if block_given? then @message = block else @message end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redis-1.0.2 | lib/redis/subscribe.rb |
redis-1.0.1 | lib/redis/subscribe.rb |