class Rubydex::Rules::UndefinedMethodVisibilityTarget

Undefined method visibility target means the analysis couldn’t find the definition for the method 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 :bar
         ^^^ Undefined method visibility target. The method `bar` is not defined.

end “‘