class Listen::QueueOptimizer::Config
Public Class Methods
new(adapter_class, silencer)
click to toggle source
# File lib/listen/queue_optimizer.rb, line 4 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 17 def debug(*args, &block) Listen.logger.debug(*args, &block) end
exist?(path)
click to toggle source
# File lib/listen/queue_optimizer.rb, line 9 def exist?(path) Pathname(path).exist? end
silenced?(path, type)
click to toggle source
# File lib/listen/queue_optimizer.rb, line 13 def silenced?(path, type) @silencer.silenced?(path, type) end