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

instance method IO#closed?

closed? -> bool

ポートがクローズされている時に真を返します。

class IO