class Reek::SmellDetectors::BooleanParameter

A Boolean parameter effectively permits a method’s caller to decide which execution path to take. The offending parameter is a kind of Control Couple.

Currently Reek can only detect a Boolean parameter when it has a default initializer.

See {file:docs/Boolean-Parameter.md} for details.