Ruby27

Ruby 2.7 Adds Shorthand for Arguments

Ruby 2.7 has added new syntax `...` for method arguments forwarding.

Ruby 2.7 Dir#glob Disallows NUL-separated

Ruby 2.7 prohibits the problematic '\0' separated string as the parameter for Dir#glob and Dir#[]

Ruby 2.7 adds Enumerator#produce

Ruby 2.7 has added Enumerator#produce to generate Enumerator from any custom data-transformation.

Ruby 2.7 Adds Comparable#clamp with Range

Ruby 2.7 adds supports for Comparable#clamp with a range

Ruby 2.7 Module#autoload? inherit Argument

Ruby 2.7 has added inherit as an optional argument to Module#autoload? to check if a given class or module has an autoload defined for a certain constant

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 2.7 Deprecates Hash to Keyword

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#[] Range Support

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

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