module Roda::RodaPlugins::PerThreadCaching::ClassMethods

Public Instance Methods

thread_safe_cache() click to toggle source

Use the per-thread cache instead of the default cache.

# File lib/roda/plugins/per_thread_caching.rb, line 62
def thread_safe_cache
  Cache.new
end