lib/roda/plugins/mail_processor.rb in roda-3.27.0 vs lib/roda/plugins/mail_processor.rb in roda-3.28.0

- old
+ new

@@ -330,10 +330,10 @@ opts[:mail_processor_string_routes] ||= {} opts[:mail_processor_regexp_routes] ||= {} string_meth = nil regexp_meth = nil addresses.each do |address| - key = case address + case address when String unless string_meth string_meth = define_roda_method("mail_processor_string_route_#{address}", 1, &convert_route_block(block)) end opts[:mail_processor_string_routes][address] = string_meth