class Perhoa
Constants
- CONFIG_FILE
Public Class Methods
run()
click to toggle source
# File lib/perhoa.rb, line 13 def self.run $config = File.size?(CONFIG_FILE) ? symbolise(YAML.load_file(CONFIG_FILE)) : Hash.new if already_running? puts 'Sending messages to running Perhoa process...' send_message exit end read_config listener = SocketListener.new(ARGV) listener.listen end