class RuboCop::Cop::ThreadSafety::InstanceVariableInClassMethod
def in_defs?(node)
def in_defs?(node) node.ancestors.any? do |ancestor| ancestor.type == :defs end end
def in_defs?(node) node.ancestors.any? do |ancestor| ancestor.type == :defs end end