Sha256: 674e15192cab47e6051dcb0592ce3609533721ac377096e21b21c834741f2bc1

Contents?: true

Size: 1.49 KB

Versions: 8

Compression:

Stored size: 1.49 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>speed (Period)</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 app/models/period.rb, line 18</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">speed</span>
    <span class="ruby-identifier">start_todo</span> = <span class="ruby-identifier">estimate_data</span>(<span class="ruby-identifier">start_on</span>, <span class="ruby-keyword kw">true</span>)
    <span class="ruby-identifier">end_todo</span> = <span class="ruby-identifier">estimate_data</span>(<span class="ruby-identifier">end_on</span>, <span class="ruby-keyword kw">true</span>)
    <span class="ruby-identifier">days</span> = <span class="ruby-identifier">end_on</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">start_on</span>
    <span class="ruby-keyword kw">return</span> (<span class="ruby-identifier">start_todo</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">end_todo</span>).<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">days</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
backlog-0.7.10 doc/classes/Period.src/M000185.html
backlog-0.7.10 doc/classes/Period.src/M000213.html
backlog-0.7.12 doc/classes/Period.src/M000213.html
backlog-0.7.12 doc/classes/Period.src/M000185.html
backlog-0.8.0 doc/classes/Period.src/M000185.html
backlog-0.8.0 doc/classes/Period.src/M000213.html
backlog-0.8.1 doc/classes/Period.src/M000213.html
backlog-0.8.1 doc/classes/Period.src/M000185.html