Sha256: 95ae9a04e7576155662f189b9182dce76b7bda8fc4a04b2af6bf0f383edc3bea
Contents?: true
Size: 427 Bytes
Versions: 28
Compression:
Stored size: 427 Bytes
Contents
module Brightbox module Config module Cache def cache_path File.join(config_directory, "cache") end def cache_id(cid) return if cid.nil? unless File.exist?(cache_path) begin FileUtils.mkpath(cache_path) rescue Errno::EEXIST end end FileUtils.touch(File.join(cache_path, cid)) unless cid.nil? end end end end
Version data entries
28 entries across 28 versions & 1 rubygems