class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral
def within_onymous_module?(node)
def within_onymous_module?(node) parent = node.parent parent = parent.parent while parent&.type?(:begin, :block) parent&.type?(:module, :class, :sclass) end
def within_onymous_module?(node) parent = node.parent parent = parent.parent while parent&.type?(:begin, :block) parent&.type?(:module, :class, :sclass) end