org.jruby
Class Main

java.lang.Object
  extended byorg.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]

Version:
$Revision: 1.8 $
Author:
jpetersen

Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)

printUsage

public static void printUsage()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.