Masu.Views.Memory (Masu v0.1.0)

Copy Markdown View Source

Views in memory, for development and tests: they last as long as the node, and every grid of the node shares them. Not for production.

Start it in your supervision tree (or in test_helper.exs):

children = [Masu.Views.Memory, ...]

Summary

Functions

Returns a specification to start this module under a supervisor.

Forgets every view.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

clear()

@spec clear() :: :ok

Forgets every view.