kyledrake (Kyle Drake)
- Login: kyledrake
- Email: kyle@kyledrake.net
- Registered on: 12/21/2011
- Last sign in: 02/06/2017
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
02/06/2017
-
07:03 PM Ruby Bug #13198 (Closed): Tempfile#size is nil when nothing is written, expected 0
- ~~~ ruby
require 'tempfile'
tmp = Tempfile.new
tmp.write ''
tmp.close
tmp.size # => nil
File.size(tmp.path) # => 0
~~~
I'm not sure if this is actually a bug, but this behavior really surprised me. I think it would be bette...
01/04/2012
-
07:33 AM Ruby Bug #5837 (Closed): IO#fsync documentation typo quickfix
- The documentation IO#fsync says:
"Immediately writes all buffered data in ios to disk. Note that fsync differs from using IO#sync=. The latter ensures that data is flushed from Ruby’s buffers, but doesn’t not guarantee that the underl...