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

instance method Gem::RemoteFetcher#escape

escape(str) -> String

URI 文字列をエンコードした文字列を返します。

[PARAM] str:
文字列を指定します。

[SEE_ALSO] URI.escape

class Gem::RemoteFetcher