Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > delegateライブラリ > Delegatorクラス > __setobj__
__setobj__(obj) -> object
委譲先のオブジェクトをセットします。