Ruby 2.5.0 リファレンスマニュアル > ライブラリ一覧 > rubygems/remote_fetcherライブラリ > Gem::RemoteFetcherクラス > get_file_uri_path

instance method Gem::RemoteFetcher#get_file_uri_path

get_file_uri_path(uri) -> String[permalink][rdoc]

与えられた URI から "file://" を取り除いた文字列を返します。

[PARAM] uri:
URI を表す文字列を指定します。