Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > IOクラス > binmode?

instance method IO#binmode?

binmode? -> bool

自身がバイナリモードなら true を返します。そうでない場合、false を返します。

class IO