mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Ruby: Add ql doc to lookupSingletonMethod
This commit is contained in:
@@ -736,6 +736,10 @@ private predicate singletonMethodOnModule(MethodBase method, string name, Module
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if `method` is a singleton method named `name`, defined on module
|
||||
* `m`, or any transitive base class of `m`.
|
||||
*/
|
||||
pragma[nomagic]
|
||||
private MethodBase lookupSingletonMethod(Module m, string name) {
|
||||
singletonMethodOnModule(result, name, m)
|
||||
|
||||
Reference in New Issue
Block a user