Created
September 10, 2010 04:06
-
-
Save amatsuda/573070 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
`touch some_file` | |
f = File.open("some_file",'w') | |
f.write "Stuff" | |
`rm some_file` | |
# Why is there no errors ? | |
puts f.flush.inspect | |
puts f.close.inspect | |
# via: @kirillrdy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment