Sha256: f6b7c08e5e74c2ae1813094babe77d7473a120d611d27c38e20735d00a7c6fa0

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 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>elapsed_time (Clock)</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/zyps.rb, line 299</span>
        <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">elapsed_time</span>
                <span class="ruby-identifier">time</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">new</span>.<span class="ruby-identifier">to_f</span>
                <span class="ruby-identifier">elapsed_time</span> = <span class="ruby-identifier">time</span> <span class="ruby-operator">-</span> <span class="ruby-ivar">@last_check_time</span>
                <span class="ruby-ivar">@last_check_time</span> = <span class="ruby-identifier">time</span>
                <span class="ruby-identifier">elapsed_time</span>
        <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zyps-0.3.1 doc/classes/Clock.src/M000027.html
zyps-0.4.1 doc/classes/Clock.src/M000042.html