News for hackers. Stuff that matters.
Re:IRB's Built-In Measure by GreenWatermelon on Sunday April 09, 2023 @12:37AM (#35500100)
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.
Re:IRB's Built-In Measure by fortysixdegrees on Sunday April 09, 2023 @01:09AM (#35500214)
Me too but embedded (yip, ruby embedded). Love this!!
Re:IRB's Built-In Measure by typohaiku on Sunday April 09, 2023 @06:08AM (#35501306)
Yeah, this was news to me too. It looks very handy.

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

Re:IRB's Built-In Measure by semiquaver on Sunday April 09, 2023 @09:17AM (#35502443)
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