Module: IIRC::Redis

Defined in:
lib/iirc/modules/redis.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.includedObject



3
4
5
# File 'lib/iirc/modules/redis.rb', line 3

def self.included(*)
  require 'redis'
end

Instance Method Details

#redisObject



7
8
9
# File 'lib/iirc/modules/redis.rb', line 7

def redis
  @redis ||= ::Redis.new
end