- getservername -> String[permalink][rdoc][edit]
- 
プロセスが動いているマシンのホスト名を文字列で返します。 require 'webrick' p WEBrick::Utils.getservername #=> "localhost" 
getservername -> String[permalink][rdoc][edit]プロセスが動いているマシンのホスト名を文字列で返します。
require 'webrick' p WEBrick::Utils.getservername #=> "localhost"