lib/roda/plugins/render.rb in roda-3.27.0 vs lib/roda/plugins/render.rb in roda-3.28.0
- old
+ new
@@ -141,12 +141,14 @@
if compiled_method_arity == -2
def self.tilt_template_compiled_method(template, locals_keys, scope_class)
template.send(:compiled_method, locals_keys, scope_class)
end
else
+ # :nocov:
def self.tilt_template_compiled_method(template, locals_keys, scope_class)
template.send(:compiled_method, locals_keys)
end
+ # :nocov:
end
# Setup default rendering options. See Render for details.
def self.configure(app, opts=OPTS)
if app.opts[:render]