Ruby 2.5.0 リファレンスマニュアル > ライブラリ一覧 > stringioライブラリ > StringIOクラス > isatty
isatty -> false
何もせず false を返します。