From: Florian Frank Date: 2004-12-13T03:20:18+09:00 Subject: Re: [patch] Obtaining mode information on an IO object Hi, nobu.nokada@softhome.net wrote: >Or, how about separating them so that accmode will return >Fixnum and access_mode will return String. > > Will the modes change if IO#binmode is called on an existing IO object? At the moment it doesn't seem possible at all to find out if a given IO object is in binary mode or not. -- Florian Frank