Make the code compatible both with Ruby 2.7 and Ruby 3.
Attach a file by drag & drop or click to upload