View Source ShadowdarkTables.SimpleTable (Postgrex v0.1.1)

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