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

Member predicate ModuleBase::getConstant

Gets the value of the constant named name, if any.

For example, the value of CONST is "const" in

module M
  CONST = "const"
end
Expr getConstant(string name)