org.jruby
Class Main
java.lang.Object
org.jruby.Main
public class Main
- extends java.lang.Object
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]
- Author:
- jpetersen
Method Summary |
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. |
Main.Status |
run()
Deprecated. |
Main.Status |
run(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main(RubyInstanceConfig config)
Main
public Main(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err)
Main
public Main()
main
public 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. Use other mechanisms when
embedding JRuby into another application.
- Parameters:
args
- command-line args, provided by the JVM.
run
public Main.Status run(java.lang.String[] args)
run
@Deprecated
public Main.Status run()
- Deprecated.
Copyright © 2002-2009 JRuby Team. All Rights Reserved.