module Jekyll::Cache
Constants
- NullStore
- VERSION
Public Class Methods
clear()
click to toggle source
– Clear the entire cache. @note Doesn't matter if it exists. @return [true,false] –
# File lib/jekyll-cache.rb, line 21 def self.clear if Jekyll.cache_dir&.directory? then Jekyll.cache_dir.rm_r end end
logger()
click to toggle source
– @return [Jekyll::LogWrapper] Creates a log wrapper for ActiveSupport @see Jekyll::LogWrapper –
# File lib/jekyll-cache.rb, line 32 def self.logger logger = Jekyll.logger @logger ||= LogWrapper.new(logger) end