lib/gecoder/interface/constraints/int_enum_constraints.rb in gecoder-0.7.0 vs lib/gecoder/interface/constraints/int_enum_constraints.rb in gecoder-0.7.1

- old
+ new

@@ -13,10 +13,10 @@ # A module containing constraints that have enumerations of integer # variables as left hand side. module Constraints::IntEnum # Expressions with int enums as left hand sides. - class Expression < Gecode::Constraints::Expression + class Expression < Gecode::Constraints::Expression #:nodoc: # Raises TypeError unless the left hand side is an int enum. def initialize(model, params) super unless params[:lhs].respond_to? :to_int_var_array