Site Archives tab

Tab completion in irb


irb has completion support, you need to activate this by requiring ‘irb/completion’. You can load it when you invoke irb from the command line:

% irb -r irb/completion

Or you can load the completion library when irb is running:

% irb(main):005:0> require ‘irb/completion’

If you often use completion then:
Linux users: Can create an alias in .bashrc [...]