TorqueBox 3.1.2

org.torquebox.core.runtime
Class RubyLoadPathMetaData

java.lang.Object
  extended by org.torquebox.core.runtime.RubyLoadPathMetaData

public class RubyLoadPathMetaData
extends Object

Describes a path to use for LOAD_PATH in a Ruby interpreter.

Author:
Bob McWhirter
See Also:
RubyRuntimeMetaData

Constructor Summary
RubyLoadPathMetaData()
          Construct without a path.
RubyLoadPathMetaData(File path)
          Construct with a path.
 
Method Summary
 File getPath()
           
 boolean isAutoload()
          Should classes beneath path be autoloaded?
 void setAutoload(boolean autoload)
          Set the autoload preference.
 void setPath(File path)
           
 String toString()
          Stringification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RubyLoadPathMetaData

public RubyLoadPathMetaData()
Construct without a path.


RubyLoadPathMetaData

public RubyLoadPathMetaData(File path)
Construct with a path.

Parameters:
path - The path to add to the Ruby load path.
Method Detail

getPath

public File getPath()

setPath

public void setPath(File path)

setAutoload

public void setAutoload(boolean autoload)
Set the autoload preference.


isAutoload

public boolean isAutoload()
Should classes beneath path be autoloaded?


toString

public String toString()
Stringification

Overrides:
toString in class Object

TorqueBox 3.1.2

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