Ruby

Ruby Adds Leading Arguments with Forwarding

... operator was limited to forwarding arguments. With Ruby 3.0, it can forward the arguments along with the leading arguments.

Ruby 3.0 Adds Symbol#name Method

Ruby has added `Symbol#name`, which returns the name of the symbol if it is named. The returned string can not be modified.

Ruby Adds Rightward Assignment Support

Previously ruby used to support only Rvalue to be assigned to Lvalue. Now, it adds support for Rightward assignment

Ruby Adds Find Pattern in Pattern Matching

Find pattern is introduced in pattern matching, which is useful in matching arrays.

Ruby 3.0 Changes Proc Autosplatting Behavior

Ruby 3.0 changed the inconsistent behavior for autosplatting, when rest argument and keyword arguments are present for a Proc

Ruby Adds Endless Method Definition

Ruby has added a new experimental syntax for defining single-line methods without using the end keyword.

Heredocs in Ruby and Rails Explained

What are heredoc and different ways to use them in Ruby and Rails.

Rails Adds round_mode to Number Helpers

Rails has added :round_mode parameter support to number helpers

Ruby 2.7 Warns Setting $ Special Variables

In Ruby 2.7, setting special variable $, $; $/ $\ to non-nil values will now show a deprecated warning

Ruby 2.7 removes taint checking mechanism

Ruby 2.7 access and setting of $SAFE is now always warned. $SAFE will become a normal global variable in Ruby 3.0