Lambda composition in ruby 2.6

The new proc composition operators: << and >> - a small feature that can easily be overlooked.We recently updated a sizeable application to ruby 2.5, which opened up some nice features for us, such as the yield_self feature.But I also wanted to have a quick look at 2.6 for comparison purposes, and I found a small feature that can easily be overlooked: the new proc composition operators: << and >>.
Lambda composition in ruby 2.6 #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/lambda-composition-in-ruby-2-6

Nezir Zahirovic

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

related articles