method set_export_callback
1 | class Metamodel::EnumHOW |
1.1 | (Metamodel::EnumHOW) method set_export_callback |
Documentation for method set_export_callback
assembled from the following types:
class Metamodel::EnumHOW
From Metamodel::EnumHOW
(Metamodel::EnumHOW) method set_export_callback
method set_export_callback(, )
Sets the enum's export callback, which is invoked when calling .compose_values
. This is called when applying the export
trait to an enum. $callback
should be a routine of some sort, taking no arguments, that handles exporting the enum's values.