Inspired by the latest improvements to #IRB, I have released Irbtools 4.0. It is the first version to include custom commands, so some of Irbtoools' methods now support "ri" syntax:
code Array#reverse
This will directly show the reverse method's source code in the REPL.
Also new: Using dollar-space as a prefix allows you to call the system shell from your IRB session! So this just works:
$ top
brb; making my apps compatible with Ruby 3.2 😅
def File.exists?(f)=exist?(f) unless defined? File.exists?
Ruby's standard library club has a new member:
https://stdgems.org/syntax_suggest/ by @Schneems
It is a debugging utility that helps you to find missing `end` keywords or closing parenthesises.
RT @fastrubyio@twitter.com
Syntax suggestion tool (formerly dead_end) merged into Ruby 3.2. #Ruby32 #Ruby
https://mobile.twitter.com/hsbt/status/1560440968070848512
🐦🔗: https://twitter.com/fastrubyio/status/1561481026257436672