Sha256: 3b1c9215b10cdd49e12931d4a71be8f9869ae01533c7054a11a5b52ffedb5f6c

Contents?: true

Size: 1.68 KB

Versions: 8

Compression:

Stored size: 1.68 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>overlaps (Bio::Graphics::Track)</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/bio/graphics/track.rb, line 140</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">overlaps</span>(<span class="ruby-identifier">f1</span>, <span class="ruby-identifier">f2</span>)
    (<span class="ruby-identifier">f1</span>.<span class="ruby-identifier">start</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-identifier">f2</span>.<span class="ruby-identifier">start</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">f1</span>.<span class="ruby-identifier">start</span> <span class="ruby-operator">&lt;=</span> <span class="ruby-identifier">f2</span>.<span class="ruby-identifier">end</span>) <span class="ruby-keyword kw">or</span> (<span class="ruby-identifier">f1</span>.<span class="ruby-identifier">end</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-identifier">f2</span>.<span class="ruby-identifier">start</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">f1</span>.<span class="ruby-identifier">end</span> <span class="ruby-operator">&lt;=</span> <span class="ruby-identifier">f2</span>.<span class="ruby-identifier">end</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
bio-svgenes-0.4.1 doc/classes/Bio/Graphics/Track.src/M000004.html
bio-svgenes-0.4.1 doc/classes/Bio/Graphics/Track.src/M000013.html
bio-svgenes-0.4.0 doc/classes/Bio/Graphics/Track.src/M000004.html
bio-svgenes-0.4.0 doc/classes/Bio/Graphics/Track.src/M000013.html
bio-svgenes-0.3.3 doc/classes/Bio/Graphics/Track.src/M000004.html
bio-svgenes-0.3.3 doc/classes/Bio/Graphics/Track.src/M000013.html
bio-svgenes-0.3.2 doc/classes/Bio/Graphics/Track.src/M000004.html
bio-svgenes-0.3.2 doc/classes/Bio/Graphics/Track.src/M000013.html