Sha256: a0af54d9c80a82ce1d418777fc9e9be6781b2ee3f7eaad9698f9a88c88ca7c39
Contents?: true
Size: 1.28 KB
Versions: 13
Compression:
Stored size: 1.28 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>_attr_value (Rmobio::Rxml::XformsTransformer)</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/xforms_transformer.rb, line 290</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_attr_value</span>(<span class="ruby-identifier">value</span>) <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">value</span> <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Symbol</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">_escape_quote</span>(<span class="ruby-identifier">value</span>.<span class="ruby-identifier">to_s</span>) <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
13 entries across 13 versions & 1 rubygems