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