lib/roda/plugins/partials.rb
def partial(template, opts=OPTS)
          opts = parse_template_opts(template, opts)
          if opts[:template]
            opts[:template] = partial_template_name(opts[:template])
          end
          render_template(opts)
        end
# Renders the given template without a layout, but
# prefixes the template filename to use with an 
# underscore.
Renders the given template without a layout, but
prefixes the template filename to use with an
underscore.
Renders the given template without a layout but prefixes the template filename to use with an underscore .
def partial(template, opts=OPTS)
          opts = parse_template_opts(template, opts)
          if opts[:template]
            opts[:template] = partial_template_name(opts[:template])
          end
          render_template(opts)
        end
def partial ( template , opts = OPTS ) opts = parse_template_opts ( template , opts ) if opts [ :template ] opts [ :template ] = partial_template_name ( opts [ :template ] ) end render_template ( opts ) end
Renders the given template without a layout, but
prefixes the template filename to use with an
underscore.
Renders the given template without a layout but prefixes the template filename to use with an underscore .
template
opts