Method: ActiveSupport::Cache::FileStore#delete

Defined in:
lib/gems/activesupport-2.2.2/lib/active_support/cache/file_store.rb

#delete(name, options = nil) ⇒ Object



25
26
27
28
29
30
# File 'lib/gems/activesupport-2.2.2/lib/active_support/cache/file_store.rb', line 25

def delete(name, options = nil)
  super
  File.delete(real_file_path(name))
rescue SystemCallError => e
  # If there's no cache, then there's nothing to complain about
end