lib/rufus/scheduler/job_array.rb in rufus-scheduler-3.0.5 vs lib/rufus/scheduler/job_array.rb in rufus-scheduler-3.0.6
- old
+ new
@@ -76,9 +76,16 @@
def [](job_id)
@mutex.synchronize { @array.find { |j| j.job_id == job_id } }
end
+
+ # Only used when shutting down, directly yields the underlying array.
+ #
+ def array
+
+ @array
+ end
end
end
end