Class: KQueue::Watcher::Process
- Inherits:
-
KQueue::Watcher
- Object
- KQueue::Watcher
- KQueue::Watcher::Process
- Defined in:
- lib/rb-kqueue/watcher/process.rb
Overview
The KQueue::Watcher subclass for process events. Process events are watched via Queue#watch_process.
Instance Attribute Summary collapse
-
#pid ⇒ Fixnum
readonly
The process id of the process being watched.
Attributes inherited from KQueue::Watcher
Method Summary
Methods inherited from KQueue::Watcher
#add!, #delete!, #disable!, #enable!
Instance Attribute Details
#pid ⇒ Fixnum (readonly)
The process id of the process being watched.
9 10 11 |
# File 'lib/rb-kqueue/watcher/process.rb', line 9 def pid @pid end |