Class: Gearman::Taskset

Inherits:
Array
  • Object
show all
Defined in:
lib/gearman/taskset.rb

Class Method Summary collapse

Class Method Details

.create(task_or_taskset) ⇒ Object



4
5
6
# File 'lib/gearman/taskset.rb', line 4

def self.create(task_or_taskset)
  [*task_or_taskset]
end