- Inheritance
-
< Object
Constants
Name |
|
Description |
IDNAME_IVARS |
= ["@prompt_mode"] |
|
NOPRINTING_IVARS |
= ["@last_value"] |
|
NO_INSPECTING_IVARS |
= ["@irb", "@io"] |
|
Attributes
Name |
Visibility |
R/W |
Description |
ap_name |
public |
RW |
|
auto_indent_mode |
public |
RW |
|
back_trace_limit |
public |
RW |
|
debug_level |
public |
R |
|
echo |
public |
RW |
|
eval_history |
public |
R |
|
ignore_eof |
public |
RW |
|
ignore_sigint |
public |
RW |
|
inspect_mode |
public |
R |
|
io |
public |
RW |
|
irb |
public |
RW |
|
irb_name |
public |
R |
|
irb_name |
public |
RW |
|
irb_path |
public |
RW |
|
last_value |
public |
R |
|
load_modules |
public |
RW |
|
math_mode |
public |
R |
|
prompt_c |
public |
RW |
|
prompt_i |
public |
RW |
|
prompt_mode |
public |
R |
|
prompt_n |
public |
RW |
|
prompt_s |
public |
RW |
|
rc |
public |
RW |
|
return_format |
public |
RW |
|
thread |
public |
R |
|
use_readline |
public |
R |
|
use_tracer |
public |
R |
|
verbose |
public |
RW |
|
workspace |
public |
RW |
|
workspace_home |
public |
R |
|
Aliases
Method |
Alias |
Description |
echo |
→ echo? |
|
exit |
→ __exit__ |
|
ignore_eof |
→ ignore_eof? |
|
ignore_sigint |
→ ignore_sigint? |
|
inspect |
→ __inspect__ |
|
math_mode |
→ math? |
|
rc |
→ rc? |
|
to_s |
→ __to_s__ |
|
use_readline |
→ use_readline? |
|
use_tracer |
→ use_tracer? |
|
Methods
Class
Visibility |
Signature |
public |
new (irb, workspace = nil, input_method = nil, output_method = nil) |
Instance
Class Method Detail
new(irb, workspace = nil, input_method = nil, output_method = nil)
Arguments:
input_method: nil -- stdin or readline
String -- File
other -- using this as InputMethod
Instance Method Detail
_set_last_value(value)
change_workspace(*_main)
debug?()
debug_level=(value)
eval_history=(no)
evaluate(line, line_no)
exit(ret = 0)
file_input?()
history_file()
history_file=(hist)
home_workspace()
init_save_history()
inspect()
inspect?()
inspect?()
inspect_mode=(opt)
irb_level()
main()
math_mode=(opt)
pop_workspace()
prompt_mode=(mode)
prompting?()
push_workspace(*_main)
save_history()
save_history=(val)
set_last_value(value)
set_last_value(value)
to_s()
use_loader()
use_loader=(opt)
use_loader?()
use_readline=(opt)
use_tracer=(opt)
verbose?()
workspaces()