Current Path : /usr/local/share/ri/1.8/system/CGI/HtmlExtension/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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