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

Member predicate MethodCall::getBlock

Gets the block of this method call, if any.

foo.each { |x| puts x }
Block getBlock()