module Roda::RodaPlugins::SymbolMatchers::RequestMethods
Private Instance Methods
_match_symbol_regexp(s)
click to toggle source
Allow for symbol specific regexps, by using match_symbol_#{s} if defined. If not defined, calls super for the default behavior.
Calls superclass method
# File lib/roda/plugins/symbol_matchers.rb, line 66 def _match_symbol_regexp(s) meth = :"match_symbol_#{s}" if respond_to?(meth) send(meth) else super end end