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