|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
--- !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