Class: KQueue::Watcher::File

Inherits:
KQueue::Watcher show all
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

Attributes inherited from KQueue::Watcher

#queue

Method Summary

Methods inherited from KQueue::Watcher

#add!, #delete!, #disable!, #enable!

Instance Attribute Details

#pathString (readonly)

The path to the file being watched.


9
10
11
# File 'lib/rb-kqueue/watcher/file.rb', line 9

def path
  @path
end