lib/roda/plugins/render.rb
# If caching templates, attempt to retrieve the template from the cache.  Otherwise, just yield
# to get the template.
If caching templates, attempt to retrieve the template from the cache.  Otherwise, just yield
to get the template.
If caching templates attempt to retrieve the template from the cache . Otherwise just yield to get the template .
def cached_template(opts, &block)
          if (!render_opts[:explicit_cache] || opts[:cache]) && (key = opts[:cache_key])
            cache = render_opts[:cache]
            unless template = cache[key]
              template = cache[key] = yield
            end
            template
          else
            yield
          end
        end
def cached_template ( opts , & block ) if ( ! render_opts [ :explicit_cache ] || opts [ :cache ] ) && ( key = opts [ :cache_key ] ) cache = render_opts [ :cache ] unless template = cache [ key ] template = cache [ key ] = yield end template else yield end end
If caching templates, attempt to retrieve the template from the cache.
If caching templates attempt to retrieve the template from the cache .
opts
<not_specific>
block
<not_specific>