1件ヒット
[1-1件を表示]
(0.054秒)
ライブラリ
-
webrick
/ utils (1)
検索結果
-
WEBrick
:: Utils . # getservername -> String (18607.0) -
プロセスが動いているマシンのホスト名を文字列で返します。
...プロセスが動いているマシンのホスト名を文字列で返します。
require 'webrick'
p WEBrick::Utils.getservername #=> "localhost"...