From: mookhae@... (mookhae) Date: 2002-07-20T01:20:56+09:00 Subject: Can I know a file is binary or text in ruby? I am newbie in ruby and computer language. To make simple ruby script, I need a file information. Which file is binary or text. In ruby, how can I know file information? I found File class and File::stat class. but there is no method which tells file state. (isbinary?) Please give me an advice. Thanks.