instance method StringIO#closed_read?

closed_read? -> bool[permalink][rdoc][edit]

自身に対する読み取りが禁止されているなら true を返します。そうでない場合は、false を返します。