class Rubydex::Rules::UndefinedConstantVisibilityTarget

Undefined constant visibility target means the analysis couldn’t find the definition for the constant the code is attempting to change visibility of. It could be defined through meta-programming or it indeed does not exist.

“‘ruby class Foo

private_constant :Bar
                 ^^^ Undefined constant visibility target. The constant `Bar` is not defined.

end “‘