Module: Roda::RodaPlugins::PerThreadCaching::ClassMethods
- Defined in:
- lib/roda/plugins/per_thread_caching.rb
Instance Method Summary collapse
-
#thread_safe_cache ⇒ Object
Use the per-thread cache instead of the default cache.
Instance Method Details
#thread_safe_cache ⇒ Object
Use the per-thread cache instead of the default cache.
62 63 64 |
# File 'lib/roda/plugins/per_thread_caching.rb', line 62 def thread_safe_cache Cache.new end |