stixex v0.1.2 StixEx.Enum behaviour View Source
Like a vocabulary but it FORCES values to be part of it, instead of sending them a strongly worded letter if they don't.
Link to this section Summary
Link to this section Functions
Link to this function
get(name) View Source
Get an enum based on its name
Link to this function
has_value?(enum, value) View Source
Link to this section Callbacks
Link to this callback
values()
View Source
values()
View Source
values() :: [String.t()]
values() :: [String.t()]