# File lib/nanite/state.rb, line 32 def initialize(redis) Nanite::Log.info("[setup] initializing redis state: #{redis}") host, port = redis.split(':') host ||= '127.0.0.1' port ||= '6379' @redis = Redis.new :host => host, :port => port end