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