Class: KQueue::Watcher::File
- Inherits:
-
KQueue::Watcher
- Object
- KQueue::Watcher
- KQueue::Watcher::File
- Defined in:
- lib/rb-kqueue/watcher/file.rb
Overview
The KQueue::Watcher subclass for events fired when a file changes. File events are watched via Queue#watch_file.
Instance Attribute Summary collapse
-
#path ⇒ String
readonly
The path to the file being watched.
Attributes inherited from KQueue::Watcher
Method Summary
Methods inherited from KQueue::Watcher
#add!, #delete!, #disable!, #enable!
Instance Attribute Details
#path ⇒ String (readonly)
The path to the file being watched.
9 10 11 |
# File 'lib/rb-kqueue/watcher/file.rb', line 9 def path @path end |