mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user