Exemplo n.º 1
0
/**
 *  call-seq:
 *    Coolio::StatWatcher.enable -> Coolio::StatWatcher
 * 
 * Re-enable a stat watcher which has been temporarily disabled.  See the
 * disable method for a more thorough explanation.
 */
static VALUE Coolio_StatWatcher_enable(VALUE self)
{
  Watcher_Enable(stat, self);

  return self;  
}
Exemplo n.º 2
0
/**
 *  call-seq:
 *    Coolio::IOWatcher.enable -> Coolio::IOWatcher
 * 
 * Re-enable an IO watcher which has been temporarily disabled.  See the
 * disable method for a more thorough explanation.
 */
static VALUE Coolio_IOWatcher_enable(VALUE self)
{
  Watcher_Enable(io, self);

  return self;  
}