Ruby

Ruby adds experimental support for end-less method definition

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

Heredocs and how to use them in Ruby and Rails

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

Rails adds round_mode parameter support to number helpers

Rails has added :round_mode parameter support to number helpers

Ruby 2.7 - Setting $ special variables to non-nil value is now warned

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

Ruby 2.7 - Singleton class yield syntax throws a warning

Ruby 2.7 singleton class yield syntax is warned and will be deprecated in Ruby 3.0.

How to pass arguments to methods in ruby and how it affects their arity

Deep dive into different ways of passing arguments to methods and how it affects their arity

Ruby 2.7 allows placing of comment lines between fluent dots

Ruby 2.7 allows placing of comment lines between chained methods. It facilitates easier debugging and also allows adding a separate comment for one or more chained methods.

Ruby 2.7 fixed the parsing for multiple assignment with `rescue` modifier

Ruby 2.7 fixed how the `rescue` modifier was parsed in multiple assignment statement.

Ruby 2.7 deprecates Regexp#match and Regexp#match? with a nil argument

Ruby 2.7 has deprecated Regexp#match and Regexp#match? with a nil argument. It will raise a TypeError in the next release.