is the REPL(read-eval-print loop) environment for Ruby programs.

Prints the version of

Same as `ruby -E' . Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).

You can omit the one for internal encodings, then the value

Same as `ruby -I' . Specifies

directory

Same as `ruby -U' . Sets the default value for internal encodings

Same as `ruby -d' . Sets

to true.

Suppresses read of

Same as `ruby -w' .

Same as `ruby -W' .

Prints a summary of the options.

Same as `ruby -r'. Causes irb to load the library using require.

Uses `inspect' for output (default except for bc mode)

Doesn't use inspect for output

Uses multiline editor module.

Doesn't use multiline editor module.

Uses singleline editor module.

Doesn't use singleline editor module.

Show result(default).

Don't show result.

Use colorization.

Don't use colorization.

Show details.

Don't show details.

Switch prompt mode. Pre-defined prompt modes are `default', `simple', `xmp' and `inf-ruby'.

Uses prompt appropriate for inf-ruby-mode on emacs. Suppresses --multiline and --singleline.

Makes prompts simple.

No prompt mode.

Displays trace for each execution of commands.

Displays backtrace top

and tail

The default value is 16.

Also

depends on same variables as

Personal irb initialization.

Security vulnerabilities should be reported via an email to

Reported problems will be published after being fixed.

Other bugs and feature requests can be reported via the Ruby Issue Tracking System

Do not report security vulnerabilities via this system because it publishes the vulnerabilities immediately.

Written by Keiju ISHITSUKA.