Sha256: 0ad4d24979d28def9a1d52995313683bc0615700ca16589fedeee4172609727c

Contents?: true

Size: 193 Bytes

Versions: 2

Compression:

Stored size: 193 Bytes

Contents

require 'sneakers'

module Sneakers
  module Worker
    module ClassMethods
      def enqueue(msg)
        worker = self.new(nil, nil, {})
        worker.work(*msg)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activejob-lock-0.0.2 rails/activejob/test/support/sneakers/inline.rb
activejob-lock-0.0.1 rails/activejob/test/support/sneakers/inline.rb