Class Listen::Adapters::Darwin
In: lib/listen/adapters/darwin.rb
Parent: Adapter

Adapter implementation for Mac OS X `FSEvents`.

Methods

new   start   stop   usable?  

Constants

LAST_SEPARATOR_REGEX = /\/$/

Public Class methods

Initializes the Adapter. See {Listen::Adapter#initialize} for more info.

Checks if the adapter is usable on the current OS.

@return [Boolean] whether usable or not

Public Instance methods

Starts the adapter.

@param [Boolean] blocking whether or not to block the current thread after starting

Stops the adapter.

[Validate]