Method: FireAndForget::Launcher#binary

Defined in:
lib/fire_and_forget/launcher.rb

#binary(task_name) ⇒ String

Returns the path to the binary for the given task

Parameters:

  • task_name (Symbol)

    the name of the task

Returns:

  • (String)

    the path of the task’s binary



35
36
37
# File 'lib/fire_and_forget/launcher.rb', line 35

def binary(task_name)
  tasks[task_name].binary
end