Sha256: 14abc1b00e66cac5cd33dbf8c965e1d5f802aea2fedf75a00bc0021a64c28212
Contents?: true
Size: 256 Bytes
Versions: 10
Compression:
Stored size: 256 Bytes
Contents
module Taskinator class TaskWorker attr_reader :uuid def initialize(uuid) @uuid = uuid end def perform task = Taskinator::Task.fetch(@uuid) return if task.paused? || task.cancelled? task.start! end end end
Version data entries
10 entries across 10 versions & 1 rubygems