Module: Gecode::EnumMethods

Included in:
FixnumEnumMethods, VariableEnumMethods
Defined in:
lib/gecoder/interface/enum_wrapper.rb

Overview

A module containing the methods needed by enumerations containing variables.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#modelObject

Returns the value of attribute model.



44
45
46
# File 'lib/gecoder/interface/enum_wrapper.rb', line 44

def model
  @model
end

Instance Method Details

#active_spaceObject

Gets the current space of the model the array is connected to.



46
47
48
# File 'lib/gecoder/interface/enum_wrapper.rb', line 46

def active_space
  @model.active_space
end