Sha256: 579f9238de63136667577f8e4adcc8e470663be275aef4e9fc7b8018ca9c7f70

Contents?: true

Size: 1.96 KB

Versions: 13

Compression:

Stored size: 1.96 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>get_transformer (Rmobio::Rxml::TransformerFactory)</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/working/transformer_factory.rb, line 27</span>
      <span class="ruby-keyword kw">def</span> <span class="ruby-constant">TransformerFactory</span><span class="ruby-operator">::</span><span class="ruby-identifier">get_transformer</span>(<span class="ruby-identifier">client</span>) 
        <span class="ruby-identifier">kclass</span> = <span class="ruby-constant">BaseTransformer</span>
          <span class="ruby-identifier">kclass</span> = 
            <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">client</span> 
            <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'xf'</span>
              <span class="ruby-constant">XformsTransformer</span>
            <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'xhtml'</span>
              <span class="ruby-constant">XhtmlTransformer</span>
            <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'html'</span>
              <span class="ruby-constant">HtmlTransformer</span> 
            <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'wap'</span>
              <span class="ruby-constant">WapTransformer</span>
            <span class="ruby-keyword kw">end</span> 
          <span class="ruby-identifier">kclass</span><span class="ruby-operator">::</span><span class="ruby-identifier">new</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/TransformerFactory.src/M000105.html
rmobio-1.1.15 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.16 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.17 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.20 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.28 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.26 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.24 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.29 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.27 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.5 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.32 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html
rmobio-1.1.9 lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html