How to perform 'Write File' in Ruby.
# Task: Write File
# Language: Ruby
def write_file()
# Implementation for Write File
# TODO: Implement core logic here
# Step 1: Prepare data
# Step 2: Process Write File
puts("Done");
end