18 19 20 21
# File 'lib/envconfig/redis.rb', line 18 def filter_config(config) url = UrlParser.new(config[:url]) config.merge!(url.extract(:host, :port, :user, :password)) end