public class Main
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Main.Status |
Constructor and Description |
---|
Main() |
Main(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err) |
Main(RubyInstanceConfig config) |
Modifier and Type | Method and Description |
---|---|
protected static int |
handleRaiseException(RaiseException ex)
This is only used from the main(String[]) path, in which case the err for this
run should be System.err.
|
static void |
main(java.lang.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(java.lang.String[] args) |
public Main(RubyInstanceConfig config)
public Main(java.io.InputStream in, java.io.PrintStream out, java.io.PrintStream err)
public Main()
public static void processDotfile()
public static void main(java.lang.String[] args)
args
- command-line args, provided by the JVM.public Main.Status run(java.lang.String[] args)
@Deprecated public Main.Status run()
protected static int handleRaiseException(RaiseException ex)
ex
- Copyright © 2001-2020 JRuby. All Rights Reserved.