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