Ruby runtime = context.runtime;
try {
runtime.registerInspecting(array);
return puts(context, maybeIO, array.toJavaArray());
} finally {
runtime.unregisterInspecting(array);
}
}
// Make string based on internal data encoding (which ironically is its
// external encoding. This seems messy and we should consider a more