Sha256: 229fb422d20937047668c41d4ea4f87b990d7cde3c8a27aef0bc3a16668b2b27
Contents?: true
Size: 299 Bytes
Versions: 1
Compression:
Stored size: 299 Bytes
Contents
require 'redis' module RedisMonitor class Backend def self.config(arguments) @@host = arguments[:redis_host] @@port = arguments[:redis_port] end def self.redis Redis.new(:host => @@host, :port => @@port) end def self.info redis.info end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_monitor-0.0.2 | lib/modules/backend.rb |