Hacker News new | past | comments | ask | show | jobs | submit login
IRB's Built-In Measure (2021) (jemma.dev)
89 points by semiquaver on April 9, 2023 | hide | past | favorite | 7 comments



Nice, had no idea. Does this also work with pry? Or is there a plugin or something?

Edit: Just googled. Didn't find anything about pry, but I found https://st0012.dev/whats-new-in-ruby-3-2-irb


This is amazing! I work with ruby in my day job (unsurprisingly, Rails), and had no idea about existence of measure, though admittedly most of our codebases run Ruby versions older than 3.


Yeah, this was news to me too. It looks very handy.

Friendly PSA: Support (security patches) for ruby < 3.0 ended this month.


Starting in ruby 2.6, irb is a gem bundled with ruby, so you can upgrade to the latest version in older rubies: https://github.com/ruby/irb#installation


Me too but embedded (yip, ruby embedded). Love this!!


Neat!

I work with ruby daily and its nice to see this built in.


Can someone add [2021] to this title?




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: