Class: Jekyll::Cache::MemoryStore
- Inherits:
-
ActiveSupport::Cache::MemoryStore
- Object
- ActiveSupport::Cache::MemoryStore
- Jekyll::Cache::MemoryStore
- Defined in:
- lib/jekyll/cache/memory_store.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ <EnvyGeeks::Cache>
constructor
– Overrides the default method so that we can simply pass in the name of the directory we want to store cache files inside of –.
-
#middleware ⇒ Object
– So that users don’t freak out.
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
.clear ⇒ Object
11 12 13 |
# File 'lib/jekyll/cache/memory_store.rb', line 11 def self.clear Cache.method(:clear).call end |
Instance Method Details
#middleware ⇒ Object
– So that users don’t freak out. –
31 32 33 |
# File 'lib/jekyll/cache/memory_store.rb', line 31 def middleware nil end |