module Roda::RodaPlugins::Render::InstanceMethods

def _cached_template_method(template)

with a single string or symbol argument.
method symbol. This optimization is only used for render/view calls
If there is an instance method for the template, return the instance
def _cached_template_method(template)
  case template
  when String, Symbol
    if (method_cache = render_opts[:template_method_cache])
      _cached_template_method_lookup(method_cache, template)
    end
  end
end