Public Instance methods
symbol_matcher(s, re, &block)
Set the regexp to use for the given symbol, instead of the default.
[show source]
# File lib/roda/plugins/symbol_matchers.rb 82 def symbol_matcher(s, re, &block) 83 meth = :"match_symbol_#{s}" 84 array = [re, block].freeze 85 self::RodaRequest.send(:define_method, meth){array} 86 self::RodaRequest.send(:private, meth) 87 end