Sha256: 81a174582f96f55881feb5b608caf66f1bc3202f487e3f30aa6cc7cdf14c09bd
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <!-- create_schema (RQ::QDB) --> <html> <head> <title>create_schema (RQ::QDB)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" /> </head> <body> <pre><span class="ruby-comment cmt"># File lib/rq-2.3.1/qdb.rb, line 151</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_schema</span> <span class="ruby-identifier">path</span> <span class="ruby-comment cmt">#--{{{</span> <span class="ruby-identifier">tmp</span> = <span class="ruby-node">"#{ path }.tmp"</span> <span class="ruby-identifier">open</span>(<span class="ruby-identifier">tmp</span>,<span class="ruby-value str">'w'</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-constant">PRAGMAS</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-constant">SCHEMA</span> <span class="ruby-keyword kw">end</span> <span class="ruby-constant">FileUtils</span><span class="ruby-operator">::</span><span class="ruby-identifier">mv</span> <span class="ruby-identifier">tmp</span>, <span class="ruby-identifier">path</span> <span class="ruby-comment cmt">#--}}}</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rq-3.0.0 | doc/classes/RQ/QDB.src/M000133.html |
rq-3.1.0 | doc/classes/RQ/QDB.src/M000133.html |