<?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) -> 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>