class Listen::QueueOptimizer::Config
Public Class Methods
new(adapter_class, silencer)
click to toggle source
# File lib/listen/queue_optimizer.rb, line 6 def initialize(adapter_class, silencer) @adapter_class = adapter_class @silencer = silencer end
Public Instance Methods
debug(*args, &block)
click to toggle source
# File lib/listen/queue_optimizer.rb, line 19 def debug(*args, &block) Listen.logger.debug(*args, &block) end
exist?(path)
click to toggle source
# File lib/listen/queue_optimizer.rb, line 11 def exist?(path) Pathname(path).exist? end
silenced?(path, type)
click to toggle source
# File lib/listen/queue_optimizer.rb, line 15 def silenced?(path, type) @silencer.silenced?(path, type) end