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

Member predicate Location::hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Providing locations in CodeQL queries.

predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn)