CodeQL library for Ruby
codeql/ruby-all 3.0.1-dev (changelog, source)
Search

Predicate isGeneratedCode

Holds if file looks like it contains generated code.

Import path

import codeql.ruby.filters.GeneratedCode
predicate isGeneratedCode(GeneratedCodeFile file)