CodeQL library for Ruby
codeql/ruby-all 2.0.4-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)