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

instance method StringIO#pid

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

何もせず nil を返します。