Ruby 3.3 リファレンスマニュアル > ライブラリ一覧 > socketライブラリ > Socket::Ifaddrクラス > name
name -> String
self のインターフェイス名を返します。