Parent

Listen::Adapter::Darwin

Adapter implementation for Mac OS X `FSEvents`.

Public Class Methods

new(listener) click to toggle source
# File lib/listen/adapter/darwin.rb, line 10
def initialize(listener)
  require 'rb-fsevent'
  super
end
usable?() click to toggle source
# File lib/listen/adapter/darwin.rb, line 6
def self.usable?
  RbConfig::CONFIG['target_os'] =~ /darwin(1.+)?$/
end

Public Instance Methods

start() click to toggle source
# File lib/listen/adapter/darwin.rb, line 15
def start
  worker = _init_worker
  Thread.new { worker.run }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.