Writing Files
Lesson 27Author : 🦒
Last Updated : November, 2017
Code
File.open("employees.txt", "r+") do |file|
file.write("writing some text")
end
File.open("employees.txt", "r+") do |file|
file.write("writing some text")
end