Asked • 06/07/19

How to write to file in Ruby?

I need to read the data out of database and then save it in a text file.How can I do that in Ruby? Is there any file management system in Ruby?

1 Expert Answer

By:

Inactive Tutor answered • 03/18/22

Tutor
New to Wyzant

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.