Ruby 3.4 リファレンスマニュアル > ライブラリ一覧 > rexml/documentライブラリ > REXML::Entityクラス > name
name -> String
実体の名前を返します。