module Roda::RodaPlugins::HashMatcher::ClassMethods
def hash_matcher(key, &block)
match, and anything else to match. See the HashMatcher module
call the block. The block should return nil or false to not
block, so that using a hash key in a request match method will
Create a match_#{key} method in the request class using the given
def hash_matcher(key, &block) self::RodaRequest.send(:define_method, :"match_#{key}", &block) end