class Rubydex::Rules::DynamicSingletonDefinition
Dynamic singleton targets cannot be reasoned about statically because they depend on runtime values. The program may still be valid, but the quality of the analysis degrades.
“‘ruby class << var
^^^ Dynamic singleton target. This might be correct, but it cannot be understood by the analysis.
end
def var.bar
^^^ Dynamic singleton target.
end “‘
Public Class Methods
→ singleton(Severity::Base)
Source
# File lib/rubydex/rules/dynamic_singleton_definition.rb, line 24 def default_severity Severity::Information end
@override