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/img-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate an Image element as a string. - !ruby/struct:SM::Flow::P body: <tt>src</tt> is the URL of the image. <tt>alt</tt> is the alternative text for the image. <tt>width</tt> is the width of the image, and <tt>height</tt> is its height. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " img("src", "alt", 100, 50)\n # <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50">\n\n img("SRC" => "src", "ALT" => "alt", "WIDTH" => 100, "HEIGHT" => 50)\n # <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50">\n" full_name: CGI::HtmlExtension#img is_singleton: false name: img params: (src = "", alt = "", width = nil, height = nil) visibility: public