Jan Lelis · @idiosyncratic
62 followers · 31 posts · Server ruby.social

Inspired by the latest improvements to , 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

github.com/janlelis/irbtools

#irb #ruby #Ruby32

Last updated 3 years ago

Matthias V · @kronn
18 followers · 374 posts · Server ruby.social

So, here I am lying in bed with a headache and reading about and and such things. And I cannot participate because reading alone is exhausting... Have fun with this for me, will you, fellow Rubyists?

#Ruby32 #YJIT

Last updated 3 years ago

Jan Lelis · @idiosyncratic
62 followers · 30 posts · Server ruby.social

brb; making my apps compatible with Ruby 3.2 😅

def File.exists?(f)=exist?(f) unless defined? File.exists?

#ruby #Ruby32

Last updated 3 years ago

Jan Lelis · @idiosyncratic
59 followers · 28 posts · Server ruby.social

Ruby's standard library club has a new member:

stdgems.org/syntax_suggest/ by @Schneems

It is a debugging utility that helps you to find missing `end` keywords or closing parenthesises.

#ruby #Ruby32

Last updated 3 years ago

Michał Zając · @quintasan
10 followers · 9 posts · Server ruby.social
alexanderadam · @alexanderadam
301 followers · 3369 posts · Server ruby.social

RT @fastrubyio@twitter.com

Syntax suggestion tool (formerly dead_end) merged into Ruby 3.2.

mobile.twitter.com/hsbt/status

🐦🔗: twitter.com/fastrubyio/status/

#Ruby32 #ruby

Last updated 3 years ago