module Roda::RodaPlugins::NamedTemplates::InstanceMethods
def find_template(options)
If a template name is given and it matches a named template, call
def find_template(options) if options[:template] && (template_opts, block = opts[:named_templates][template_name(options)]; block) if template_opts options = Hash[template_opts].merge!(options) else options = Hash[options] end options[:inline] = instance_exec(&block) super(options) else super end end