Ruby27

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

Ruby 2.7 Allows Comments Between Fluent Dots

Ruby 2.7 allows placing of comment lines between chained methods.

Ruby 2.7 Multiple Assignment with rescue

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

Ruby 2.7 Deprecates Regexp#match with nil

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

Ruby 2.7 Reverts Flip-Flop Operator

Ruby 2.7 reverts the deprecation of flip-flop operator

Ruby 2.7 Private Method Calls with self

Ruby 2.7 allows calling a private method with a literal self as the receiver.

Ruby 2.7 Separates Time#inspect from

Ruby 2.7 separated Time#inspect from Time#to_s and added sub seconds

Ruby 2.7 Adds Symbol#start_with? and

Ruby 2.7 adds Symbol#start_with? and Symbol#end_with? methods.

Ruby 2.7 Method#inspect Shows Arguments

Ruby 2.7 improves Method#inspect by also displaying method's arguments