Method: Enc::Cache::NodeCache#delete!

Defined in:
lib/enc/cache/node_cache.rb

#delete!(hostname) ⇒ Object



30
31
32
33
# File 'lib/enc/cache/node_cache.rb', line 30

def delete!(hostname)
  logger.debug("Deleting cache #{cache_path(hostname)}")
  File.delete(cache_path(hostname)) if File.exist?(cache_path(hostname))
end