Class: Rubydex::Rules::UndefinedMethodVisibilityTarget
- Inherits:
-
Rubydex::Rule
- Object
- Rubydex::Rule
- Rubydex::Rules::UndefinedMethodVisibilityTarget
- Defined in:
- lib/rubydex/rules/undefined_method_visibility_target.rb
Overview
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.
class Foo
private :bar
^^^ Undefined method visibility target. The method `bar` is not defined.
end
Class Method Summary collapse
-
.default_severity ⇒ Object
: -> singleton(Severity::Base).