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

Member predicate AstNode::getEnclosingModule

Gets the enclosing module, if any.

ModuleBase getEnclosingModule()