Dogma v0.1.16 Dogma.Rule.PredicateName

A rule that disallows tautological predicate names, meaning those that start with the prefix has_ or the prefix is_.

Favour these:

def valid?(x) do
end

def picture?(x) do
end

Over these:

def is_valid?(x) do
end

def has_picture?(x) do
end

Summary

Functions

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

Functions

test(rule, script)

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