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