Save This Page
Home » jruby-src-1.1.3 » org.jruby » [javadoc | source]
org.jruby
public class: Main [javadoc | source]
java.lang.Object
   org.jruby.Main
Class used to launch the interpreter. This is the main class as defined in the jruby.mf manifest. It is very basic and does not support yet the same array of switches as the C interpreter. Usage: java -jar jruby.jar [switches] [rubyfile.rb] [arguments] -e 'command' one line of script. Several -e's allowed. Omit [programfile]
Constructor:
 public Main() 
 public Main(RubyInstanceConfig config) 
 public Main(InputStream in,
    PrintStream out,
    PrintStream err) 
Method from org.jruby.Main Summary:
main,   printProperties,   printUsage,   run,   run
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jruby.Main Detail:
 public static  void main(String[] args) 
 public  void printProperties() 
 public  void printUsage() 
 public int run() 
 public int run(String[] args)