Package org.ringojs.tools
Class RingoShell
- java.lang.Object
-
- org.ringojs.tools.RingoShell
-
public class RingoShell extends java.lang.Object
RingoShell is a simple interactive shell that provides the additional global functions implemented by Ringo.
-
-
Constructor Summary
Constructors Constructor Description RingoShell(RhinoEngine engine)
RingoShell(RhinoEngine engine, java.nio.file.Path history, boolean silent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
printError(java.lang.Exception ex, java.io.PrintStream out, boolean verbose)
protected void
printResult(java.lang.Object result, java.io.PrintStream out)
void
run()
-
-
-
Constructor Detail
-
RingoShell
public RingoShell(RhinoEngine engine) throws java.io.IOException
- Throws:
java.io.IOException
-
RingoShell
public RingoShell(RhinoEngine engine, java.nio.file.Path history, boolean silent) throws java.io.IOException
- Throws:
java.io.IOException
-
-