org.jruby.ext
Class Readline
java.lang.Object
org.jruby.ext.Readline
public class Readline
- extends java.lang.Object
- Author:
- Ola Bini, Damian Steer, Koichiro Ohba
Method Summary |
static void |
createReadline(Ruby runtime)
|
static jline.Completor |
getCompletor(Readline.ConsoleHolder holder)
|
static jline.History |
getHistory(Readline.ConsoleHolder holder)
|
static Readline.ConsoleHolder |
getHolder(Ruby runtime)
|
protected static void |
initReadline(Ruby runtime,
Readline.ConsoleHolder holder)
|
static IRubyObject |
s_get_basic_word_break_character(IRubyObject recv)
|
static IRubyObject |
s_get_completion_case_fold(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
s_get_line_buffer(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
s_get_point(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
s_get_screen_size(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
s_readline(IRubyObject recv)
|
static IRubyObject |
s_readline(IRubyObject recv,
IRubyObject prompt)
|
static IRubyObject |
s_readline(IRubyObject recv,
IRubyObject prompt,
IRubyObject add_to_hist)
|
static IRubyObject |
s_readline(ThreadContext context,
IRubyObject recv,
IRubyObject prompt,
IRubyObject add_to_hist)
|
static IRubyObject |
s_refresh_line(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
s_set_basic_word_break_character(IRubyObject recv,
IRubyObject achar)
|
static IRubyObject |
s_set_completion_append_character(IRubyObject recv,
IRubyObject achar)
|
static IRubyObject |
s_set_completion_case_fold(ThreadContext context,
IRubyObject recv,
IRubyObject other)
|
static IRubyObject |
s_set_completion_proc(IRubyObject recv,
IRubyObject proc)
|
static void |
setCompletor(Readline.ConsoleHolder holder,
jline.Completor completor)
|
static IRubyObject |
setInput(ThreadContext context,
IRubyObject recv,
IRubyObject input)
|
static IRubyObject |
setOutput(ThreadContext context,
IRubyObject recv,
IRubyObject output)
|
static IRubyObject |
unimplemented(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
unimplemented19(ThreadContext context,
IRubyObject recv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ESC_KEY_CODE
public static final char ESC_KEY_CODE
- See Also:
- Constant Field Values
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)
getHistory
public static jline.History getHistory(Readline.ConsoleHolder holder)
getHolder
public static Readline.ConsoleHolder getHolder(Ruby runtime)
setCompletor
public static void setCompletor(Readline.ConsoleHolder holder,
jline.Completor completor)
getCompletor
public static jline.Completor getCompletor(Readline.ConsoleHolder holder)
s_readline
public static IRubyObject s_readline(IRubyObject recv,
IRubyObject prompt,
IRubyObject add_to_hist)
s_readline
public static IRubyObject s_readline(ThreadContext context,
IRubyObject recv,
IRubyObject prompt,
IRubyObject add_to_hist)
setInput
public static IRubyObject setInput(ThreadContext context,
IRubyObject recv,
IRubyObject input)
setOutput
public static IRubyObject setOutput(ThreadContext context,
IRubyObject recv,
IRubyObject output)
s_readline
public static IRubyObject s_readline(IRubyObject recv,
IRubyObject prompt)
s_readline
public static IRubyObject s_readline(IRubyObject recv)
s_set_basic_word_break_character
public static IRubyObject s_set_basic_word_break_character(IRubyObject recv,
IRubyObject achar)
s_get_basic_word_break_character
public static IRubyObject s_get_basic_word_break_character(IRubyObject recv)
s_set_completion_append_character
public static IRubyObject s_set_completion_append_character(IRubyObject recv,
IRubyObject achar)
s_set_completion_proc
public static IRubyObject s_set_completion_proc(IRubyObject recv,
IRubyObject proc)
unimplemented
public static IRubyObject unimplemented(ThreadContext context,
IRubyObject recv)
unimplemented19
public static IRubyObject unimplemented19(ThreadContext context,
IRubyObject recv)
s_get_completion_case_fold
public static IRubyObject s_get_completion_case_fold(ThreadContext context,
IRubyObject recv)
s_set_completion_case_fold
public static IRubyObject s_set_completion_case_fold(ThreadContext context,
IRubyObject recv,
IRubyObject other)
s_get_screen_size
public static IRubyObject s_get_screen_size(ThreadContext context,
IRubyObject recv)
s_get_line_buffer
public static IRubyObject s_get_line_buffer(ThreadContext context,
IRubyObject recv)
s_get_point
public static IRubyObject s_get_point(ThreadContext context,
IRubyObject recv)
s_refresh_line
public static IRubyObject s_refresh_line(ThreadContext context,
IRubyObject recv)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.