Ruby 3.3’s IRB introduces major enhancements to improve debugging capabilities, autocompletion, and overall user experience. Users can now access the irb:rdbg session within the IRB session, allowing them to execute rdbg commands without exiting. The integration offers advantages such as multi-line input, autocompletion, symbol aliases to commands, and pager support. The autocompletion feature has been improved to address previous issues, and users can customize the dropdown UI. IRB’s autocompletion is now experimenting with more accurate completion using gradual typing. Other quality of life improvements include pager support, the ability to omit return value inspection with “;”, a history command, and a streamlined prompt. Future plans for Ruby 3.4 include repurposing the help command and enhancing extensibility with standardized APIs.
https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/