lib/roda/plugins/custom_matchers.rb in roda-3.41.0 vs lib/roda/plugins/custom_matchers.rb in roda-3.42.0
- old
+ new
@@ -66,9 +66,11 @@
nil
end
end
module RequestMethods
+ private
+
# Try custom matchers before calling super
def unsupported_matcher(matcher)
roda_class.opts[:custom_matchers].each do |match_class, meth|
if match_class === matcher
return send(meth, matcher)