lib/roda/plugins/render.rb
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
# Get the content for #view, or return nil to use the unoptimized approach. Only called if
# a single argument is passed to view.
Get the content for #view, or return nil to use the unoptimized approach. Only called if
a single argument is passed to view.
Get the content for #view or return nil to use the unoptimized approach . Only called if a single argument is passed to view .
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
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
Get the content for #view, or return nil to use the unoptimized approach.
Get the content for #view or return nil to use the unoptimized approach .
template