Methods

Listen

Constants

VERSION

Public Class Methods

to(*args, &block) click to toggle source

Listens to file system modifications on a either single directory or multiple directories.

@param (see Listen::Listener#new)

@yield [modified, added, removed] the changed files @yieldparam [Array<String>] modified the list of modified files @yieldparam [Array<String>] added the list of added files @yieldparam [Array<String>] removed the list of removed files

@return [Listen::Listener] the listener

# File lib/listen.rb, line 17
def self.to(*args, &block)
  Listener.new(*args, &block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.