Photo by Jason D on Unsplash

Recently in Ruby Core — April Edition

Gernot Gradwohl

--

Many Ruby developers don’t have time to keep up to date with the recent developments inside Ruby core. To make this easier I decided to write up the most recent progress that is happening inside the Ruby Bug tracker. I won’t summarize bug tickets, but only feature proposals. But if an important Bug ticket rises I will mention it at the end.

Here are the most important issues being discussed in the month of April:

Merge io-nonblock gems into core

The discussion that started last month is continuing in this issue. Many of the core developers are against the proposal and Eregon has given up on this.

Introduce a way to tell if a method invokes the super keyword

This issue is a follow up to the no clobber issues created last month. The author want’s to have a calls_super? method available on the instance_method(sym). But it appears that there is already a solution that would work in MRI and therefore this might get dropped as well. Or, more precisly, Aaron Patterson implemented a new method for the InstructionSequence instance called type with which it will be possible to see if a method calls to super. Here is the PR for this with an example script as well.

Introduce %R percent literal…

--

--

Gernot Gradwohl
Gernot Gradwohl

Written by Gernot Gradwohl

Passionate programmer. Love the elegance of Ruby. Recently started to dig into functional programming with Elixir.

No responses yet