Method: Blender::Job#initialize

Defined in:
lib/blender/job.rb

#initialize(id, driver, tasks, hosts) ⇒ Job

creates a new job

Parameters:



35
36
37
38
39
40
# File 'lib/blender/job.rb', line 35

def initialize(id, driver, tasks, hosts)
  @id = id
  @tasks = Array(tasks)
  @hosts = Array(hosts)
  @driver = driver
end