module Guard
def setup(options = {})
(**options)-
watch_all_modifications(Boolean) -- watches all file modifications if true -
guardfile(String) -- the path to the Guardfile -
watchdir(String) -- the director to watch -
group(Array) -- the list of groups to start -
verbose(Boolean) -- if verbose output should be shown -
notify(Boolean) -- if system notifications should be shown -
clear(Boolean) -- if auto clear the UI should be done
def setup(options = {}) @lock = Mutex.new @options = options @guards = [] self.reset_groups @listener = Listener.select_and_init(options) UI.clear if @options[:clear] debug_command_execution if @options[:verbose] self end