Package org.jruby.ext.posix

Examples of org.jruby.ext.posix.POSIX.unsetenv()


           
            if (updateRealENV) {
                POSIX posix = getRuntime().getPosix();
                String keyAsJava = keyAsStr.asJavaString();
                if (valueAsStr == getRuntime().getNil()) {
                    posix.unsetenv(keyAsJava);
                } else {
                    posix.setenv(keyAsJava, valueAsStr.asJavaString(), 1);
                }
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.