Overview

lua-states-mixin is a module which implements the State Machine design pattern. The module can either be applied through OO inheritance or by "monkey-patching" an object.

Examples

The module has unit tests available.

Download

github

Module Documentation