Sha256: 781c8b64a86cd5852234b029d516f4ac1ff88d962ccd6a8624a4ead85eb14ff6
Contents?: true
Size: 372 Bytes
Versions: 6
Compression:
Stored size: 372 Bytes
Contents
module ActiveSupport module Cache class FileStore < Store silence_warnings do UNESCAPE_FILENAME_CHARS = /%([0-9A-F]{2})/ end private def file_path_key(path) fname = path[cache_path.size, path.size].split(File::SEPARATOR, 4).last fname.gsub(UNESCAPE_FILENAME_CHARS){|match| $1.hex.chr } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems