January 2024
Intermediate to advanced
718 pages
20h 15m
English
irb is run with this command:
The command-line options for irb are listed in the following table. Typically, you’ll run irb with no options, but if you want to run a script and watch the step-by-step description as it runs, you can provide the name of the Ruby script and any options for that script.
| Option | Description |
|---|---|
|
--autocomplete, --noautocomplete |
Uses or doesn’t use the autocomplete feature. The default is --autocomplete. |
|
--back-trace-limit n |
Displays backtrace information using the top n and last n entries. The default value is 16. |
|
--colorize, --nocolorize |
Uses or doesn’t use color syntax highlighting. The default is --colorize. |
|
--context-mode ... |
Read now
Unlock full access