Ruby 3.1 リファレンスマニュアル > 関数一覧 > rb_ivar_get

function rb_ivar_get

VALUE rb_ivar_get(VALUE obj, ID name)

オブジェクト obj のインスタンス変数 name の値を取得します。