Created
November 18, 2015 18:24
-
-
Save anonymous/a65768d9d692b90ba9bb to your computer and use it in GitHub Desktop.
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
with thos code | |
f = File.new("/usr/local/sbin/forgedfile", File::CREAT|File::RDWR, 0700) | |
f.write, <<MY_DIARY | |
here | |
my severals | |
lines text | |
MY_DIARY | |
f.close | |
i get the error message : | |
3: syntax error, unexpected '\n', expecting tCOLON2 or '[' or '.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment