IO readlines now accepts chomp flag as an argument | BigBinary Blog

Since it was a common requirement, Ruby team decided to add an optional parameter to the readlines method. So the same can now be achieved in Ruby 2.4 in the following way.
IO readlines now accepts chomp flag as an argument | BigBinary Blog #ruby #rubydeveloper #rubyonrails #bigbinary #blog https://rubyonrails.ba/single/io-readlines-now-accepts-chomp-flag-as-an-argument-bigbinary-blog

Nezir Zahirovic

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

related articles