]> git.donarmstrong.com Git - biopieces.git/blob - code_ruby/Maasha/lib/doc/classes/Seq.src/M000035.html
add dist option to find_adaptor
[biopieces.git] / code_ruby / Maasha / lib / doc / classes / Seq.src / M000035.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5   <title>length (Seq)</title>
6   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7   <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
8 </head>
9 <body class="standalone-code">
10   <pre><span class="ruby-comment cmt"># File seq.rb, line 11</span>
11   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
12     <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">seq</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-value">? </span><span class="ruby-value">0</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">seq</span>.<span class="ruby-identifier">length</span>
13   <span class="ruby-keyword kw">end</span></pre>
14 </body>
15 </html>