Sha256: 45dfb7be73bbffd0f9cefeb1020aaec15a54fa172b3d32bc72a9c303e777c34e

Contents?: true

Size: 1.84 KB

Versions: 12

Compression:

Stored size: 1.84 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>filename (Bio::DB::SAM::Library)</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/db/sam/library.rb, line 8</span>
        <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">filename</span>
          <span class="ruby-comment cmt">#TODO refactor this piece of code in all the files</span>
          <span class="ruby-identifier">lib_os</span> = <span class="ruby-keyword kw">case</span> <span class="ruby-constant">RUBY_PLATFORM</span>
          <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/linux/</span>
            <span class="ruby-value str">'so.1'</span>
          <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/darwin/</span>
            <span class="ruby-value str">'1.dylib'</span>
          <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/windows/</span>
            <span class="ruby-value str">'dll'</span>  
          <span class="ruby-keyword kw">end</span>

          <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>)),<span class="ruby-value str">'external'</span>,<span class="ruby-node">&quot;libbam.#{lib_os}&quot;</span>)
        <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bio-samtools-0.6.2 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.6.0 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.5.3 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.5.2 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.5.1 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.5.0 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.4.2 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.4.1 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.4.0 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.3.2 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.3.1 doc/classes/Bio/DB/SAM/Library.src/M000006.html
bio-samtools-0.3.0 doc/classes/Bio/DB/SAM/Library.src/M000006.html