Sha256: 1390baf2662e80ffd45c5f56f368fc5e956bd180d276ca2476fa5dbc7e8716da
Contents?: true
Size: 1.75 KB
Versions: 13
Compression:
Stored size: 1.75 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>form (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 204</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">form</span>(<span class="ruby-identifier">doc</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">method</span>) <span class="ruby-identifier">doc</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n<form method=\""</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\" action=\""</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">action</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"\" id=\"#{id}\" #{options[:style]}>"</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">doc</span> <span class="ruby-identifier">doc</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'</form>'</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
13 entries across 13 versions & 1 rubygems