class DreddHooks::CLI
Public Class Methods
start(error=STDERR, out=STDOUT, files)
click to toggle source
# File lib/dredd_hooks/cli.rb, line 6 def self.start(error=STDERR, out=STDOUT, files) # Load all files given on the command-line DreddHooks::FileLoader.load(files) # Run the server out.puts 'Starting Ruby Dredd Hooks Worker...' server = DreddHooks::Server.new(error, out) server.run end