/** * call-seq: * Coolio::StatWatcher.disable -> Coolio::StatWatcher * * Temporarily disable a stat watcher which is attached to a loop. * This is useful if you wish to toggle event monitoring on and off. */ static VALUE Coolio_StatWatcher_disable(VALUE self) { Watcher_Disable(stat, self); return self; }
/** * call-seq: * Coolio::IOWatcher.disable -> Coolio::IOWatcher * * Temporarily disable an IO watcher which is attached to a loop. * This is useful if you wish to toggle event monitoring on and off. */ static VALUE Coolio_IOWatcher_disable(VALUE self) { Watcher_Disable(io, self); return self; }