Ruby

Ruby Lazy Enumerators

Ruby support for lazy loading enumerators

Ruby 2.7 adds UnboundMethod#bind_call method

Ruby 2.7 has added bind_call method to UnboundMethods to avoid the allocation from intermediate Method object

Ruby adds Array#intersection method

Ruby adds Array#intersection as a more readable alias for Array#&

Distance calculation in Ruby using RGeo - Geospatial library for Ruby

Distance/Geospatial calculations in Ruby using RGeo.

Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments

Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments in preparation for real keyword arguments in Ruby 3.0

Ruby 2.7 adds Enumerator::Lazy#eager

Ruby 2.7 added `eager` method to the Enumerator::Lazy class

Ruby 2.7 adds Integer#[] to support range values

Ruby 2.7 has extended `Integer#[]` to support range arguments which makes expressions cleaner and more readable

What's new in Interactive Ruby Shell (IRB) with Ruby 2.7

List of new and experimental features in the Interactive Ruby Shell(IRB) which are introduced with Ruby 2.7.

Ruby 2.7 adds Module#const_source_location

Ruby 2.7 has added Module#const_source_location to get the source location of a constant

Ruby 2.7 adds warning for Proc.new and proc without block and error for lambda without block

In Ruby 2.7 Proc.new and proc with no block in a method called with a block is warned now and lambda with no block in a method called with a block will give errors.