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
Instance Method Summary collapse
-
#values ⇒ Object
Gets the values of all the variables in the enum.
Methods included from EnumMethods
Instance Method Details
#values ⇒ Object
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 |