Sha256: 0bb6a4be518bf1c3db3c2f19e0a702123c1626a97551adbf267f8921cb3e6040

Contents?: true

Size: 863 Bytes

Versions: 1

Compression:

Stored size: 863 Bytes

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>attach (Rev::TimerWatcher)</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>/**
 *  call-seq:
 *    Rev::TimerWatcher.attach(loop) -&gt; Rev::TimerWatcher
 * 
 * Attach the timer watcher to the given Rev::Loop.  If the watcher is already
 * attached to a loop, detach it from the old one and attach it to the new one.
 */
static VALUE Rev_TimerWatcher_attach(VALUE self, VALUE loop)
{
  Watcher_Attach(timer, Rev_TimerWatcher_detach, self, loop);

  return self;  
}</pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rev-0.1.2 doc/rdoc/classes/Rev/TimerWatcher.src/M000087.html