Ruby 4.1 リファレンスマニュアル

instance method CGI::Cookie#domain

domain -> String[permalink][rdoc][edit]

クッキーを適用するドメインを返します。