D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
ERB
/
Util
/
Filename :
url_encode-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: u block_params: comment: - !ruby/struct:SM::Flow::P body: A utility method for encoding the String <em>s</em> as a URL. - !ruby/struct:SM::Flow::VERB body: " require "erb"\n include ERB::Util\n\n puts url_encode("Programming Ruby: The Pragmatic Programmer's Guide")\n" - !ruby/struct:SM::Flow::P body: <em>Generates</em> - !ruby/struct:SM::Flow::VERB body: " Programming%20Ruby%3A%20%20The%20Pragmatic%20Programmer%27s%20Guide\n" full_name: ERB::Util#url_encode is_singleton: false name: url_encode params: (s) visibility: public