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