public class Main extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Main.Status | 
| Constructor and Description | 
|---|
| Main() | 
| Main(InputStream in,
    PrintStream out,
    PrintStream err) | 
| Main(RubyInstanceConfig config) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static int | handleRaiseException(RaiseException rj)This is only used from the main(String[]) path, in which case the err for this
 run should be System.err. | 
| static void | main(String[] args)This is the command-line entry point for JRuby, and should ONLY be used by
 Java when starting up JRuby from a command-line. | 
| static void | processDotfile() | 
| Main.Status | run()Deprecated.  | 
| Main.Status | run(String[] args) | 
public Main(RubyInstanceConfig config)
public Main(InputStream in, PrintStream out, PrintStream err)
public Main()
public static void processDotfile()
public static void main(String[] args)
args - command-line args, provided by the JVM.public Main.Status run(String[] args)
@Deprecated public Main.Status run()
protected static int handleRaiseException(RaiseException rj)
rj - Copyright © 2001-2015 JRuby. All Rights Reserved.