1件ヒット
[1-1件を表示]
(0.069秒)
モジュール
-
ERB
:: Util (1)
検索結果
-
ERB
:: Util . # url _ encode(s) -> String (18907.0) -
文字列 s を URLエンコードした文字列を返します。
...た文字列を返します(CGI.escapeとほぼ同じです)。
@param s URLエンコードを行う文字列
//emlist[例][ruby]{
require "erb"
include ERB::Util
puts url_encode("Programming Ruby: The Pragmatic Programmer's Guide")
# Programming%20Ruby%3A%20%20The%20Pragmatic%20Programmer%27s%2...