📖 Ruby File I/O

File I/O lets you read from and write to files on your system. Ruby makes it clean and easy.

🖥️ Example: Writing to a File

Output will appear here...

🖥️ Example: Reading from a File

Output will appear here...
💡 Tip: Always remember to close files or use blocks so Ruby handles it for you!