Ruby irb: Difference between revisions

From wikinotes
No edit summary
Line 19: Line 19:
<source lang="bash">
<source lang="bash">
irb
irb
IRB.conf  # show current config
</source>
</source>
</blockquote><!-- usage -->
</blockquote><!-- usage -->

Revision as of 21:55, 17 May 2023

An interactive ruby interpreter (installed separately from ruby itself).

Install

sudo pacman -S ruby-irb

Environment

IRB_USE_AUTOCOMPLETE=false disable irb autocomplete

Usage

irb

IRB.conf  # show current config