Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File.open(File.join(SOME_TEMP_DIR, "hello.txt"), "w") { |f| f.puts("hello") }
- # => Failure/Error: File.open(File.join(SOME_TEMP_DIR, "hello.txt"), "w") { |f| f.puts("hello") }
- # => Errno::ENOENT: No such file or directory - /home/PATH_TO_MY_SOME_TEMP_DIR/hello.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement