D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
CGI
/
HtmlExtension
/
Filename :
a-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate an Anchor element as a string. - !ruby/struct:SM::Flow::P body: <tt>href</tt> can either be a string, giving the URL for the HREF attribute, or it can be a hash of the element's attributes. - !ruby/struct:SM::Flow::P body: The body of the element is the string returned by the no-argument block passed in. - !ruby/struct:SM::Flow::VERB body: " a("http://www.example.com") { "Example" }\n # => "<A HREF=\\"http://www.example.com\\">Example</A>"\n\n a("HREF" => "http://www.example.com", "TARGET" => "_top") { "Example" }\n # => "<A HREF=\\"http://www.example.com\\" TARGET=\\"_top\\">Example</A>"\n" full_name: CGI::HtmlExtension#a is_singleton: false name: a params: (href = "") {|| ...} visibility: public