Exemplo n.º 1
0
/**
 *  call-seq:
 *    Coolio::StatWatcher.detach -> Coolio::StatWatcher
 * 
 * Detach the stat watcher from its current Coolio::Loop.
 */
static VALUE Coolio_StatWatcher_detach(VALUE self)
{
  Watcher_Detach(stat, self);

  return self;
}
Exemplo n.º 2
0
/**
 *  call-seq:
 *    Coolio::IOWatcher.detach -> Coolio::IOWatcher
 * 
 * Detach the IO watcher from its current Coolio::Loop.
 */
static VALUE Coolio_IOWatcher_detach(VALUE self)
{
  Watcher_Detach(io, self);

  return self;
}