class LHC::CacheScrubber
def scrub_cache_key!
def scrub_cache_key! return if scrubbed[:key].blank? scrub_elements.each do |scrub_element| matches = scrubbed[:key].match(/:#{scrub_element}=>"(.*?)"/) next if matches.nil? value = matches[-1] scrubbed[:key].gsub!(value, SCRUB_DISPLAY) end end