class Matchd::CLI::Main

Public Instance Methods

restart() click to toggle source
# File lib/matchd/cli/main.rb, line 37
def restart
  invoke :stop
  invoke :start
end
start() click to toggle source
# File lib/matchd/cli/main.rb, line 14
def start
  Matchd::Control.new.start(ontop: !options[:deamonize])
end
status() click to toggle source
# File lib/matchd/cli/main.rb, line 24
def status
  Matchd::Control.new.status
end
stop() click to toggle source
# File lib/matchd/cli/main.rb, line 19
def stop
  Matchd::Control.new.stop
end