Sha256: aa281a4aaa4e08024c7c2a06e28bf1e55ef866c0d45c252de48cc7900c828c66
Contents?: true
Size: 282 Bytes
Versions: 25
Compression:
Stored size: 282 Bytes
Contents
module Quebert module Backend # Drops jobs on an array in-process. class InProcess < Array def put(job, *args) unshift job.to_json end def reserve json = pop and Controller::Base.new(Job.from_json(json)) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems