In Metamodel::EnumHOW§

See primary documentation in context for method compose values

method compose_values($obj)

Calls the export callback set by .set_export_callback and removes it from state. This should be called after adding the enum's values using .add_enum_value.