lib/roda/plugins/render_each.rb
# Use an optimized render for each value in the enum.
Use an optimized render for each value in the enum.
Use an optimized render for each value in the enum .
def _optimized_render_each(enum, optimized_template, as, locals)
            enum.map do |v|
              locals[as] = v
              send(optimized_template, locals)
            end.join
          end
def _optimized_render_each ( enum , optimized_template , as , locals ) enum . map do | v | locals [ as ] = v send ( optimized_template , locals ) end . join end
Use an optimized render for each value in the enum.
Use an optimized render for each value in the enum .
enum
optimized_template
as
locals