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

Member predicate IntegerLiteral::getConstantValue

Gets the constant value of this expression, if any.

ConstantIntegerValue getConstantValue()