class MiGA::Lair
def terminate_daemon(daemon)
Send termination message to +daemon+, an object implementing
#
def terminate_daemon(daemon) say "Probing #{daemon.class} #{daemon.daemon_home}" if daemon.active? say 'Sending termination message' FileUtils.touch(daemon.terminate_file) end end