Class FChange::Event
In: lib/vendor/windows/lib/rb-fchange/event.rb
Parent: Object

An event caused by a change on the filesystem. Each {Watcher} can fire many events, which are passed to that watcher‘s callback.

Methods

callback!   new  

Attributes

watcher  [R]  The {Watcher} that fired this event.

@return [Watcher]

Public Class methods

Creates an event from a string of binary data. Differs from {Event.consume} in that it doesn‘t modify the string.

@private @param watcher [Watcher] The {Watcher} that fired the event

Public Instance methods

Calls the callback of the watcher that fired this event, passing in the event itself.

@private

[Validate]