CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Member predicate Call::getKeywordArgument

Gets the value of the keyword argument whose key is keyword, if any. For example, the result for getKeywordArgument("qux") in the following example is the IntegerLiteral 123.

foo :bar "baz", qux: 123
Expr getKeywordArgument(string keyword)