Sha256: a084ba88e5c62f82303ed274a547609e171baaac5c5f2b521512cfa749fefef3
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 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>size (RedlandAdapter)</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_redland/redland.rb, line 204</span> 204: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span> 205: <span class="ruby-comment cmt"># we cannot use @model.size, because redland does not allow counting of </span> 206: <span class="ruby-comment cmt"># file-based models (@model.size raises an error if used on a file)</span> 207: <span class="ruby-comment cmt"># instead, we just dump all triples, and count them</span> 208: <span class="ruby-ivar">@model</span>.<span class="ruby-identifier">triples</span>.<span class="ruby-identifier">size</span> 209: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activerdf_redland-1.2.1 | doc/rdoc/classes/RedlandAdapter.src/M000012.html |
activerdf_redland-1.2.2 | doc/rdoc/classes/RedlandAdapter.src/M000012.html |