Module: Gecode::VariableEnumMethods

Includes:
EnumMethods
Included in:
BoolEnumMethods, IntEnumMethods, SetEnumMethods
Defined in:
lib/gecoder/interface/enum_wrapper.rb

Instance Attribute Summary

Attributes included from EnumMethods

#model

Instance Method Summary collapse

Methods included from EnumMethods

#active_space

Instance Method Details

#valuesObject

Gets the values of all the variables in the enum.



55
56
57
# File 'lib/gecoder/interface/enum_wrapper.rb', line 55

def values
  map{ |var| var.value }
end