module Gecode::FixnumEnumMethods

A module containing the methods needed by enumerations containing fixnums. Requires that it’s included in an enumerable.

Public Instance Methods

domain_range() click to toggle source

Returns the smallest range that contains the domains of all integer variables involved.

# File doc/tmp/rdoc_dev/gecoder/interface/enum_wrapper.rb, line 195
def domain_range
  min..max
end
to_fixnum_enum() click to toggle source

Returns the receiver.

# File doc/tmp/rdoc_dev/gecoder/interface/enum_wrapper.rb, line 189
def to_fixnum_enum
  self
end