Member predicate LocalVariable::isCaptured
Holds if this variable is captured. For example in
def m x
x.times do |y|
puts x
end
puts x
end
x is a captured variable, whereas y is not.
predicate isCaptured()Holds if this variable is captured. For example in
def m x
x.times do |y|
puts x
end
puts x
end
x is a captured variable, whereas y is not.
predicate isCaptured()