Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a top-level HTML element as a string. - !ruby/struct:SM::Flow::P body: The attributes of the element are specified as a hash. The pseudo-attribute "PRETTY" can be used to specify that the generated HTML string should be indented. "PRETTY" can also be specified as a string as the sole argument to this method. The pseudo-attribute "DOCTYPE", if given, is used as the leading DOCTYPE SGML tag; it should include the entire text of this tag, including angle brackets. - !ruby/struct:SM::Flow::P body: The body of the html element is supplied as a block. - !ruby/struct:SM::Flow::VERB body: " html{ "string" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML>string</HTML>\n\n html("LANG" => "ja") { "string" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML LANG="ja">string</HTML>\n\n html("DOCTYPE" => false) { "string" }\n # <HTML>string</HTML>\n\n html("DOCTYPE" => '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">') { "string" }\n # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><HTML>string</HTML>\n\n html("PRETTY" => " ") { "<BODY></BODY>" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n # <HTML>\n # <BODY>\n # </BODY>\n # </HTML>\n\n html("PRETTY" => "\\t") { "<BODY></BODY>" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n # <HTML>\n # <BODY>\n # </BODY>\n # </HTML>\n\n html("PRETTY") { "<BODY></BODY>" }\n # = html("PRETTY" => " ") { "<BODY></BODY>" }\n\n html(if $VERBOSE then "PRETTY" end) { "HTML string" }\n" full_name: CGI::HtmlExtension#html is_singleton: false name: html params: (attributes = {}) {|| ...} visibility: public