Ruby 2.7 adds Beginless Range

This blog is part of our Ruby 2.7 series. Ruby 2.7.0 was released on Dec 25, 2019.Ruby 2.7 added support for Beginless Range which makes the start of range an optional parameter.(..100) is a Beginless Range and it is equivalent to (nil..100).Let’s see how Beginless Range could be used.
Ruby 2.7 adds Beginless Range #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/ruby-2-7-adds-beginless-range

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles