Sha256: 14e89800fe39287c01ca739adc452abf61046b820d97e0a178e0a3ca0d3672c8
Contents?: true
Size: 280 Bytes
Versions: 5
Compression:
Stored size: 280 Bytes
Contents
module FireAndForget module Command class GetPid < CommandBase attr_reader :task_name, :pid def initialize(task_name) @task_name = task_name.to_sym end def run FireAndForget::Server.pids[@task_name] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems