lib/roda/plugins/match_affix.rb in roda-2.10.0 vs lib/roda/plugins/match_affix.rb in roda-2.11.0
- old
+ new
@@ -1,6 +1,7 @@
# frozen-string-literal: true
+#
class Roda
module RodaPlugins
# The match_affix plugin allows changing the default prefix and suffix used for
# match patterns. Roda's default behavior for a match pattern like <tt>"albums"</tt>
# is to use the pattern <tt>/\A\/(?:albums)(?=\/|\z)/</tt>. This prefixes the pattern