Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > webrick/httpsライブラリ > WEBrick::HTTPRequestクラス > parse_uri
parse_uri(str, scheme = "http")