Flippant v0.3.0 Flippant

Summary

Functions

See Flippant.RuleRegistry.breakdown/0

Purge all of the registered groups, features or both. This is particularly useful in testing when you want to reset to a clean slate after a test

See Flippant.RuleRegistry.enable/2

See Flippant.RuleRegistry.features/0

Callback implementation for c:Application.start/2

Functions

breakdown()

See Flippant.RuleRegistry.breakdown/0.

clear()

Specs

clear :: :ok

Purge all of the registered groups, features or both. This is particularly useful in testing when you want to reset to a clean slate after a test.

Example

Clear everything:

iex> Flippant.clear()
:ok

Clear only features:

iex> Flippant.clear(:features)
:ok

Clear only groups:

iex> Flippant.clear(:groups)
:ok
clear(atom)

Specs

clear(atom) :: :ok
disable(feature, group)

See Flippant.RuleRegistry.disable/2.

enable(feature, group)

See Flippant.RuleRegistry.enable/2.

enable(feature, group, values)

See Flippant.RuleRegistry.enable/3.

enabled?(feature, actor)

See Flippant.RuleRegistry.enabled?/2.

features()

See Flippant.RuleRegistry.features/0.

register(group, fun)

See Flippant.GroupRegistry.register/2.

start(, )

Callback implementation for c:Application.start/2.