Sha256: 9cf746f4a530f98034d5306fa47db77593a2badb9959af92bda44a7de5ca27dc
Contents?: true
Size: 282 Bytes
Versions: 8
Compression:
Stored size: 282 Bytes
Contents
module FireAndForget module Command class Kill < CommandBase def initialize(task_name, signal="TERM") @task_name, @signal = task_name.to_sym, signal end def run FireAndForget::Server.kill(@task_name, @signal) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems