Created
January 13, 2018 12:39
-
-
Save PrivateGER/2bfaa354520d7ae7fe9f732b7d1e8881 to your computer and use it in GitHub Desktop.
Basic Ruby File I/O
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file = File.open("Textfile.txt", "w") | |
file.puts "Sample Textfile" | |
file.close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment