specs/constraints/int_enum/channel.rb in gecoder-0.9.0 vs specs/constraints/int_enum/channel.rb in gecoder-0.9.1

- old
+ new

@@ -1,7 +1,9 @@ require File.dirname(__FILE__) + '/../constraint_helper' -class ChannelSampleProblem < Gecode::Model +class ChannelSampleProblem + include Gecode::Mixin + attr :elements attr :positions attr :sets def initialize