Module: Gecode::VariableEnumMethods

Includes:
EnumMethods
Included in:
BoolEnum::Dummy, BoolEnumMethods, FixnumEnum::Dummy, IntEnumMethods, SetEnum::Dummy, SetEnumMethods, IntEnum::Dummy
Defined in:
lib/gecoder/interface/enum_wrapper.rb

Overview

:nodoc:

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 operands in the enum.



59
60
61
# File 'lib/gecoder/interface/enum_wrapper.rb', line 59

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