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

Member predicate ForExpr::getValue

Gets the value being iterated over. In the following example, the result is the expression 1..10:

for n in 1..10 do
  puts n
end
Expr getValue()