class virtual['level]
prioritizer :object
..end
The base class for prioritizers. Defines methods for converting priority levels into 1) their corresponding code, and 2) their corresponding message tag.
method virtual code : 'level -> Priority.t
Use p#code v
to convert the priority level v
to a priority
code with the prioritizer p
.
method virtual tag : 'level -> string
Use p#tag v
to convert the priority level v
to a message
tag with the prioritizer p
.