Class: Jekyll::Cache::MemoryStore

Inherits:
ActiveSupport::Cache::MemoryStore
  • Object
show all
Defined in:
lib/jekyll/cache/memory_store.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ <EnvyGeeks::Cache>

– Overrides the default method so that we can simply

pass in the name of the directory we want to store
cache files inside of



22
23
24
25
# File 'lib/jekyll/cache/memory_store.rb', line 22

def initialize(*args)
  self.logger = Cache.logger
  super(*args)
end

Class Method Details

.clearObject



11
12
13
# File 'lib/jekyll/cache/memory_store.rb', line 11

def self.clear
  Cache.method(:clear).call
end

Instance Method Details

#middlewareObject



28
29
30
# File 'lib/jekyll/cache/memory_store.rb', line 28

def middleware
  nil
end