Sha256: d49ae5a713f73214a174a50560edb1a09ee7a3ae058d79d29705f96b79d828af
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 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>test2 (TRASH/libxml-ruby-old/tests/copy_bug.rb)</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 TRASH/libxml-ruby-old/tests/copy_bug.rb, line 14</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test2</span> <span class="ruby-identifier">doc2</span> = <span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'1.0'</span>) <span class="ruby-identifier">doc2</span>.<span class="ruby-identifier">root</span> = <span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">Node</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"aaa"</span>) <span class="ruby-identifier">test</span>( <span class="ruby-identifier">doc2</span> ) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mega-0.3.1 | pub/xml/libxml/rdoc/files/TRASH/libxml-ruby-old/tests/copy_bug_rb.src/M000012.html |