From: Rob Biedenharn Date: 2007-11-10T01:11:01+09:00 Subject: Re: File 'rb' on non-Windows On Nov 9, 2007, at 10:59 AM, Daniel Berger wrote: > Jari Williamsson wrote: >> To open binary files, on Windows the statement: >> File.new("myfile", "rb") >> is required. >> The docs just seem to say that the "b" is a Windows-only thing, not >> what happens on other platforms. Will the "b" flag just be filtered >> out on Linux/OS X? > > It is ignored on other platforms, yes. > > Regards, > > Dan It's not "ignored", it just has no effect because there's no difference between "binary" mode and the default for Unix-like systems. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com