# File lib/rgen/util/pattern_matcher.rb, line 293
  def num_pattern_variables(name)
    prok = @patterns[name]
    prok.arity - 1
  end