Method: ConstraintSolver::AllDifferentConstraint#to_s

Defined in:
lib/AllDifferentConstraint.rb

#to_sObject



49
50
51
# File 'lib/AllDifferentConstraint.rb', line 49

def to_s
    @variables.collect { |var| var.name }.join(" != ")
end