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

instance method IO#to_io

to_io -> self[permalink][rdoc]

self を返します。