Update docs/codeql/codeql-language-guides/using-api-graphs-in-ruby.rst

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Arthur Baars
2022-11-04 16:21:57 +01:00
committed by GitHub
parent 6891b52216
commit 610bbeee97

View File

@@ -124,7 +124,7 @@ enters the current code base. A typical example is the return value of a library
import codeql.ruby.ApiGraphs
select API::getTopLevelMember("File").getMethod("read").getParameter(1).asSource()
select API::getTopLevelMember("File").getMethod("read").getReturn().asSource()
The ``asSink()`` method is used to select dataflow nodes where a value leaves the