lib/roda/plugins/render_each.rb in roda-1.0.0 vs lib/roda/plugins/render_each.rb in roda-1.1.0
- old
+ new
@@ -22,11 +22,9 @@
# Will render the +foo+ template, but the local variable used inside
# the template will be +bar+. You can use <tt>:local=>nil</tt> to
# not set a local variable inside the template.
module RenderEach
module InstanceMethods
- EMPTY_STRING = ''.freeze
-
# For each value in enum, render the given template using the
# given opts. The template and options hash are passed to +render+.
# Additional options supported:
# :local :: The local variable to use for the current enum value
# inside the template. An explicit +nil+ value does not