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

Member predicate MethodCall::getBlockArgument

Gets the block argument of this method call, if any.

foo(&block)
BlockArgument getBlockArgument()