lib/innate/cache/file_based.rb in manveru-innate-2009.03.24 vs lib/innate/cache/file_based.rb in manveru-innate-2009.04

- old
+ new

@@ -1,9 +1,11 @@ module Innate class Cache # Used by caches that serialize their contents to the filesystem. module FileBased + attr_reader :filename + def cache_setup(*args) @prefix = args.compact.join('-') @dir = File.join(Dir.tmpdir, self.class::DIR) FileUtils.mkdir_p(@dir)