mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
13 lines
268 B
Plaintext
13 lines
268 B
Plaintext
/**
|
|
* @kind graph
|
|
* @id rb/test/supertypes
|
|
*/
|
|
|
|
import ruby
|
|
|
|
query predicate nodes(Module node, string key, string value) {
|
|
key = "semmle.label" and value = node.toString()
|
|
}
|
|
|
|
query predicate edges(Module source, Module target) { target = source.getSuperClass() }
|