module Roda::RodaPlugins::SymbolMatchers::ClassMethods
Public Instance Methods
symbol_matcher(s, re)
click to toggle source
Set the regexp to use for the given symbol, instead of the default.
# File lib/roda/plugins/symbol_matchers.rb, line 56 def symbol_matcher(s, re) request_module{define_method(:"match_symbol_#{s}"){re}} end