instance method StringIO#closed_write?

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

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