Sha256: cb1a95b5d1967f7bcf0d9cec246046dc35763fa16b57119594d61db92d8cbb2a
Contents?: true
Size: 1.83 KB
Versions: 26
Compression:
Stored size: 1.83 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>body (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 54</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">body</span>(<span class="ruby-identifier">doc</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">style</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt"># xforms style is external style </span> <span class="ruby-ivar">@view_buffer</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'<style xmlns="http://www.mobio.com/ext" src="'</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">style</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'"/>'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">style</span> <span class="ruby-ivar">@view_buffer</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n<body style=\"body\">"</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">doc</span> <span class="ruby-ivar">@view_buffer</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"</body>"</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
26 entries across 13 versions & 1 rubygems