Need Tutorial About File Operations in Ruby

Hello, I hope you are fine. I need tutorial about file operations in Ruby. Can you give me advice?
Best regards.

This one seems to be pretty nice: How To Read & Write Files in Ruby (With Examples).

IO, in any language, is a massive topic and Ruby being ‘extra’ feature filled makes that even larger. I’d concentrate on the basics(basic File IO) and then move out from there.

Basically IO has a small set of features that is used by most programs and a large set of features that are used rarely or only by expert programmers.