Sha256: f6d2abff4990e1c818a22ed300de0579ef15e675b56a29c8b233a5685ec98e37
Contents?: true
Size: 1.81 KB
Versions: 1
Compression:
Stored size: 1.81 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>make_class_node (ext/libxml/utils/doc.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 ext/libxml/utils/doc.rb, line 92</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_class_node</span>(<span class="ruby-identifier">c</span>) <span class="ruby-identifier">class_node</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">'class'</span>) <span class="ruby-identifier">class_node</span>[<span class="ruby-value str">'name'</span>] = <span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-identifier">class_node</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">make_constants_node</span>(<span class="ruby-identifier">c</span>) <span class="ruby-identifier">class_node</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">make_class_public_node</span>(<span class="ruby-identifier">c</span>) <span class="ruby-identifier">class_node</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">make_instance_public_node</span>(<span class="ruby-identifier">c</span>) <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">class_node</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/ext/libxml/utils/doc_rb.src/M000006.html |