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
-
#model ⇒ Object
Returns the value of attribute model.
Instance Method Summary collapse
-
#active_space ⇒ Object
Gets the current space of the model the array is connected to.
Instance Attribute Details
#model ⇒ Object
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_space ⇒ Object
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 |