specs/constraints/int_enum/element.rb in gecoder-0.9.0 vs specs/constraints/int_enum/element.rb in gecoder-0.9.1
- old
+ new
@@ -1,7 +1,9 @@
require File.dirname(__FILE__) + '/../property_helper'
-class ElementSampleProblem < Gecode::Model
+class ElementSampleProblem
+ include Gecode::Mixin
+
attr :prices
attr :store
attr :price
attr :fixnum_prices