Ruby 2.1.0 リファレンスマニュアル > ライブラリ一覧 > webrick/httprequestライブラリ > WEBrick::HTTPRequestクラス > server_name

instance method WEBrick::HTTPRequest#server_name

server_name -> String[permalink][rdoc]

サーバの名前を返します。