class Jekyll::Embed::Cache

Jekyll cache that behaves like ActiveSupport::Cache

Public Instance Methods

read(key) click to toggle source
   # File lib/jekyll/embed/cache.rb
11 def read(key)
12   self[key]
13 rescue
14   nil
15 end
write(key, value) click to toggle source
  # File lib/jekyll/embed/cache.rb
7 def write(key, value)
8   self[key] = value
9 end