module Bubbles
Constants
- VERSION
Public Instance Methods
config()
click to toggle source
# File lib/bubbles.rb, line 22 def config @config ||= Config.new end
run()
click to toggle source
# File lib/bubbles.rb, line 26 def run command_queue = Bubbles::CommandQueue.new(config: config) command_queue << Bubbles::DirWatcher.new({ config: config, command_queue: command_queue }) loop do command_queue.call_next sleep config.sleep_interval end end