On Aug 21, 8:04 am, "Rebhan, Gilbert" <Gilbert.Reb... / huk-coburg.de>
wrote:
> Hi ,
>
> how to test if a file is binary or not ?
>
> There ain't something like File.binary =
> NoMethodError: undefined method `binary?' for File:Class
>
> Any ideas or libraries available ?
>
> Regards, Gilbert

What to you need to achieve with this is_binary? method?
All files are just collection of bytes, so in a perspective they all
are binary. We interpret them as suites our needs.