We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6891b52 commit 610bbeeCopy full SHA for 610bbee
docs/codeql/codeql-language-guides/using-api-graphs-in-ruby.rst
@@ -124,7 +124,7 @@ enters the current code base. A typical example is the return value of a library
124
125
import codeql.ruby.ApiGraphs
126
127
- select API::getTopLevelMember("File").getMethod("read").getParameter(1).asSource()
+ select API::getTopLevelMember("File").getMethod("read").getReturn().asSource()
128
129
130
The ``asSink()`` method is used to select dataflow nodes where a value leaves the
0 commit comments