Sha256: 167aa0f07603b7eaed07c69803a267ca1b8176971cb10a4fabdbb2f6219d0f29
Contents?: true
Size: 1.88 KB
Versions: 2
Compression:
Stored size: 1.88 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>image (Rmobio::Rxml::BaseTransformer)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File rxml/base_transformer.rb, line 250</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">image</span>(<span class="ruby-identifier">doc</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">src</span>, <span class="ruby-identifier">options</span>={}) <span class="ruby-identifier">doc</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"\n<img id=\"#{id}\" src=\""</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">src</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"\" #{options[:style]}"</span> <span class="ruby-identifier">doc</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">" alt=\""</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:alt</span>] <span class="ruby-operator"><<</span> <span class="ruby-value str">"\""</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:alt</span>] <span class="ruby-identifier">doc</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'/>'</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rmobio-1.1.5 | lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000034.html |
rmobio-1.1.9 | lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000034.html |