module Roda::RodaPlugins::Render::InstanceMethods
def _optimized_view_content(template)
Get the content for #view, or return nil to use the unoptimized approach. Only called if
def _optimized_view_content(template) if optimized_template = _cached_template_method(template) send(optimized_template, OPTS) elsif template.is_a?(Hash) && template.length == 1 template[:content] end end