module Shutup

Constants

ALLOWED_SERVICES
VERSION

Public Class Methods

process(name:) click to toggle source
# File lib/shutup.rb, line 7
def self.process(name:)
  if ALLOWED_SERVICES.include?(name)
    send(name)
  else
    puts "#{name.to_s}.pid not yet supported"
  end
end
server() click to toggle source
# File lib/shutup.rb, line 15
def self.server
  Shutup::Server.hit! && Shutup::Server.delete_pid
end