# File ai/csp/constraint.rb, line 30 def initialize(*variables, &block) if block.arity != variables.length and block.arity != -1 raise 'error: # of variables != arity of the check proc' end @variables, @block, @checks = variables, block, 0 end