I'm trying to make one of my libraries run on this rc, and ran into this difference from 1.8: % touch afile % irb > open('asdf', 'rb') { |f| f.flush } IOError: not opened for writing ... % irb1.9 open('asdf', 'rb') { |f| f.flush } => #<File:asdf (closed)> % Is this intentional? I was previously abusing this as a way to find out if an arbitrary io object was writeable. Perhaps theres a better way in 1.9? Also if there's somewhere else one should turn to for 1.8 -> 1.9 questions please let me know... Thanks, Charles -- Posted via http://www.ruby-forum.com/.