Sha256: e3decddcceed9516bbad63b35ec16c9ff259e595286e35f905b15337a7212cfb

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 Bytes

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>size (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 76</span>
76:         <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span>
77:                 <span class="ruby-ivar">@db</span>.<span class="ruby-identifier">execute</span>(<span class="ruby-value str">'select count(*) from triple'</span>)[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">to_i</span>
78:         <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/M000002.html
activerdf_rdflite-1.4.1 doc/rdoc/classes/RDFLite.src/M000002.html