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 “‘
Public Class Methods
→ singleton(Severity::Base)
Source
# File lib/rubydex/rules/undefined_constant_visibility_target.rb, line 21 def default_severity Severity::Warning end
@override