From: tenderlove@... Date: 2014-01-28T18:39:35+00:00 Subject: [ruby-core:60176] [ruby-trunk - Bug #9458] [Rejected] File write mode Issue #9458 has been updated by Aaron Patterson. Status changed from Open to Rejected I think that's how writing to a File is supposed to work. ---------------------------------------- Bug #9458: File write mode https://bugs.ruby-lang.org/issues/9458#change-44660 * Author: pradeek kyahvi * Status: Rejected * Priority: Urgent * Assignee: ruby-core * Category: core * Target version: * ruby -v: 2.1.0p0 * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- As i am working ruby 2.1.0p0,it is found that File write mode is pushing the data in to file with out calling the close method on File Oject.When i quit the irb enviroment with out calling the close method,the data is wrote to the file. -- http://bugs.ruby-lang.org/