TorqueBox 3.1.2

org.torquebox.bootstrap
Class JRubyHomeLocator

java.lang.Object
  extended by org.torquebox.bootstrap.JRubyHomeLocator

public class JRubyHomeLocator
extends Object


Constructor Summary
JRubyHomeLocator()
           
 
Method Summary
static String determineJRubyHome(boolean useEnvVar)
           
static File ifExists(String path)
           
static String jrubyHomeRelativeToJBossHome()
           
static String jrubyHomeViaEnv()
           
static String jrubyHomeViaSysProp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRubyHomeLocator

public JRubyHomeLocator()
Method Detail

determineJRubyHome

public static String determineJRubyHome(boolean useEnvVar)

jrubyHomeViaEnv

public static String jrubyHomeViaEnv()

jrubyHomeViaSysProp

public static String jrubyHomeViaSysProp()

jrubyHomeRelativeToJBossHome

public static String jrubyHomeRelativeToJBossHome()

ifExists

public static File ifExists(String path)

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.