Parent

Methods

Included Modules

Listen::Change

Attributes

listener[RW]

Public Class Methods

new(listener) click to toggle source
# File lib/listen/change.rb, line 10
def initialize(listener)
  @listener = listener
end

Public Instance Methods

change(path, options) click to toggle source
# File lib/listen/change.rb, line 14
def change(path, options)
  return if _silencer.silenced?(path)
  if change = options[:change]
    _notify_listener(change, path)
  else
    send("_#{options[:type].downcase}_change", path, options)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.