AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
Current File : //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("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