Ruby 4.0 リファレンスマニュアル

instance method StringIO#pid

pid -> nil[permalink][rdoc][edit]
() → nil

何もせず nil を返します。