IRubyObject nil = runtime.getNil();
int index = getIndex();
// Make sure the appropriate scope has proper size. See JRUBY-2046.
DynamicScope flipScope = scope.getFlipScope();
flipScope.growIfNeeded();
IRubyObject result = flipScope.getValueDepthZeroOrNil(index, nil);
if (exclusive) {
if (result == null || !result.isTrue()) {