Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > webrick/httpauth/authenticatorライブラリ > WEBrick::HTTPAuth::Authenticatorモジュール > realm
realm -> String
レルムを返します。