Sha256: 2aa9cd2a1ba092cea944e9cb8ffa2a5d5f16dc0a7f0ffda8927a34fca2aec91d

Contents?: true

Size: 1.87 KB

Versions: 13

Compression:

Stored size: 1.87 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 237</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">args</span>={}) 
        <span class="ruby-identifier">doc</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n&lt;img id=\&quot;#{id}\&quot; src=\&quot;&quot;</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">src</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\&quot; #{args[:style]}&quot;</span>
        <span class="ruby-identifier">doc</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot; alt=\&quot;&quot;</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:alt</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\&quot;&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:alt</span>]
        <span class="ruby-identifier">doc</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'/&gt;'</span>
      <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rmobio-1.1.14 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.15 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.17 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.20 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.16 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.29 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.28 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.26 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.24 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.27 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.32 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.5 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html
rmobio-1.1.9 lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html