Classes: Host, Watchman
3 4 5 6 7
# File 'lib/city_watch/reader/server.rb', line 3 def self.servers CityWatch.redis.smembers("#{CityWatch.config[:prefix]}::known_hosts").map do |server| Reader::Host.new(server) end end