Dogma v0.1.16 Dogma.Rule.NegatedAssert

A rule that disallows the use of an assert or refute with a negated argument. If you do this, swap the assert for an refute, or vice versa.

These are considered valid:

assert foo
refute bar

These are considered invalid:

assert ! foo
refute ! bar
assert not foo
refute not bar



Callback implementation for c:Dogma.Rule.test/2


test(rule, script)

Callback implementation for c:Dogma.Rule.test/2.