org.jruby.ext
Class Readline
java.lang.Object
org.jruby.ext.Readline
public class Readline
- extends java.lang.Object
- Author:
- Ola Bini, Damian Steer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Readline
public Readline()
createReadline
public static void createReadline(Ruby runtime)
throws java.io.IOException
- Throws:
java.io.IOException
initReadline
protected static void initReadline(Ruby runtime,
Readline.ConsoleHolder holder)
throws java.io.IOException
- Throws:
java.io.IOException
getHistory
public static History getHistory(Readline.ConsoleHolder holder)
getHolder
public static Readline.ConsoleHolder getHolder(Ruby runtime)
setCompletor
public static void setCompletor(Readline.ConsoleHolder holder,
Completor completor)
getCompletor
public static Completor getCompletor(Readline.ConsoleHolder holder)
s_readline
public static IRubyObject s_readline(IRubyObject recv,
IRubyObject prompt,
IRubyObject add_to_hist)
throws java.io.IOException
- Throws:
java.io.IOException
s_readline
public static IRubyObject s_readline(IRubyObject recv,
IRubyObject prompt)
throws java.io.IOException
- Throws:
java.io.IOException
s_readline
public static IRubyObject s_readline(IRubyObject recv)
throws java.io.IOException
- Throws:
java.io.IOException
s_set_completion_append_character
public static IRubyObject s_set_completion_append_character(IRubyObject recv,
IRubyObject achar)
throws java.lang.Exception
- Throws:
java.lang.Exception
s_set_completion_proc
public static IRubyObject s_set_completion_proc(IRubyObject recv,
IRubyObject proc)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002-2007 JRuby Team. All Rights Reserved.