Module: Inotify::Connection

Included in:
Callback
Defined in:
lib/inotify-ffi.rb

Instance Method Summary collapse

Instance Method Details

#notify_event(ev) ⇒ Object



62
63
64
# File 'lib/inotify-ffi.rb', line 62

def notify_event(ev)
  raise "Implement #notify_event on #{self.class}"
end

#notify_readableObject



58
59
60
# File 'lib/inotify-ffi.rb', line 58

def notify_readable
  notify_event(Inotify.process_event(@fd))
end