@Override
public IRubyObject close_read(ThreadContext context) {
Ruby runtime = context.getRuntime();
if (runtime.getSafeLevel() >= 4 && isTaint()) {
throw runtime.newSecurityError("Insecure: can't close");
}
if (!openFile.isOpen()) {
throw context.getRuntime().newIOError("not opened for reading");
}