Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/a-i.yaml
--- !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(&quot;http://www.example.com&quot;) { &quot;Example&quot; }\n    # =&gt; &quot;&lt;A HREF=\\&quot;http://www.example.com\\&quot;&gt;Example&lt;/A&gt;&quot;\n\n  a(&quot;HREF&quot; =&gt; &quot;http://www.example.com&quot;, &quot;TARGET&quot; =&gt; &quot;_top&quot;) { &quot;Example&quot; }\n    # =&gt; &quot;&lt;A HREF=\\&quot;http://www.example.com\\&quot; TARGET=\\&quot;_top\\&quot;&gt;Example&lt;/A&gt;&quot;\n"
full_name: CGI::HtmlExtension#a
is_singleton: false
name: a
params: (href = "") {|| ...}
visibility: public