Top Level Namespace

Defined Under Namespace

Modules: BackgroundCache

Instance Method Summary collapse

Instance Method Details

#BackgroundCache(path, layout = false) ⇒ Object



86
87
88
89
90
91
92
# File 'lib/background_cache.rb', line 86

def BackgroundCache(path, layout=false)
  BackgroundCache.manual(
    BackgroundCache::Config.build_cache(
      path.respond_to?(:keys) ? path : { :path => path, :layout => layout }
    )
  )
end