Sha256: 632b5a3d7c5d43e9b5843c7816c4b1d9110889d0d6fedbe0f6620063c6903851
Contents?: true
Size: 1.47 KB
Versions: 2
Compression:
Stored size: 1.47 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>dump (RDFLite)</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 lib/activerdf_rdflite/rdflite.rb, line 81</span> 81: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dump</span> 82: <span class="ruby-ivar">@db</span>.<span class="ruby-identifier">execute</span>(<span class="ruby-value str">'select s,p,o,c from triple'</span>).<span class="ruby-identifier">collect</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">s</span>,<span class="ruby-identifier">p</span>,<span class="ruby-identifier">o</span>,<span class="ruby-identifier">c</span><span class="ruby-operator">|</span> 83: [<span class="ruby-identifier">s</span>,<span class="ruby-identifier">p</span>,<span class="ruby-identifier">o</span>,<span class="ruby-identifier">c</span>].<span class="ruby-identifier">join</span>(<span class="ruby-value str">' '</span>) 84: <span class="ruby-keyword kw">end</span> 85: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activerdf_rdflite-1.3 | doc/rdoc/classes/RDFLite.src/M000003.html |
activerdf_rdflite-1.4.1 | doc/rdoc/classes/RDFLite.src/M000003.html |