class Build::Files::Monitor
def run(options = {}, &block)
def run(options = {}, &block) if driver = (options[:driver] || default_driver) method_name = "run_with_#{driver}" Files.send(method_name, self, options, &block) else raise ArgumentError.new("Could not find driver for platform #{RUBY_PLATFORM}!") end end