class FireAndForget::Command::GetPid
Attributes
pid[R]
task_name[R]
Public Class Methods
new(task_name)
click to toggle source
# File lib/fire_and_forget/command/get_pid.rb, line 7 def initialize(task_name) @task_name = task_name.to_sym end
Public Instance Methods
run()
click to toggle source
# File lib/fire_and_forget/command/get_pid.rb, line 11 def run FireAndForget::Server.pids[@task_name] end