View Source ShadowdarkTables.SimpleTable (Postgrex v0.3.0)
A simple table, defines a data callback which must be implemented by users. This provides the contents of the roll table. This is often a list of strings, but can be a list of other data structures.
The module here injects a random
function returns a random item from data
.
Summary
Functions
Callback implementation for ShadowdarkTables.SimpleTableBehavior.data/0
.
Functions
Callback implementation for ShadowdarkTables.SimpleTableBehavior.data/0
.