General

Profile

davemyron (Dave Myron)

  • Login: davemyron
  • Registered on: 09/16/2017
  • Last connection: 05/13/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

10/04/2017

05:52 PM Ruby master Bug #13965: Surprising behavior when using Tempfile.open
Could a small documentation blurb alleviate future headaches for other users?
If the docs had said something like...
davemyron (Dave Myron)

10/03/2017

12:17 AM Ruby master Bug #13965: Surprising behavior when using Tempfile.open
To workaround the unexpected behavior, either use `IO#sync = true` or `IO#flush` after writing to the file. davemyron (Dave Myron)
12:12 AM Ruby master Bug #13965: Surprising behavior when using Tempfile.open
This appears to be the behavior of `File.open` + block, as well:
```
>> File.open("/tmp/test.txt","w+"){|f| (1..1...
davemyron (Dave Myron)
12:03 AM Ruby master Bug #13965 (Rejected): Surprising behavior when using Tempfile.open
I was trying to write the contents of an array to a Tempfile using the #open() + block syntax: Tempfile.open { |f| my... davemyron (Dave Myron)

09/16/2017

04:14 AM Ruby master Bug #13908 (Closed): Result of Pathname#dirname / File.dirname handling of paths with trailing File::SEPARATOR is surprising
Given `File.dirname("/some/folder/")` the result of `/some` is very surprising because the path is "obviously" a dire... davemyron (Dave Myron)

Also available in: Atom