Nap.Ets (nap v0.2.1)

Basic abstraction on top of :ets module

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

reset_table needs to go through GenServer, otherwise the ETS table dies after a ExUnit.Case finishes but before being persisted

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get(table, key, default \\ nil)

Link to this function

put(table, key, value)

Link to this function

reset_table(table)

reset_table needs to go through GenServer, otherwise the ETS table dies after a ExUnit.Case finishes but before being persisted

Link to this function

start_link(arg)