module Roda::RodaPlugins::SymbolMatchers::ClassMethods

def symbol_matcher(s, matcher, &block)

the match block.
if a block is given, it should return an array with the captures to yield to
captures if no block was registered with the symbol or class. In either case,
captures returned by the block for the registered symbol or class, or the regexp
If providing a registered symbol or class, the block will be called with the
If providing a regexp, the block given will be called with all regexp captures.

matcher (if using the class_matchers plugin).
The matcher can be a regexp, registered symbol matcher, or registered class
Set the matcher and block to use for the given class.
def symbol_matcher(s, matcher, &block)
  _symbol_class_matcher(Symbol, s, matcher, block) do |meth, array|
    define_method(meth){array}
  end
  nil
end