lib/resque/worker.rb
def job
      with_retries do
        decode(redis.get("worker:#{self}")) || {}
      end
    end
# Returns a hash explaining the Job we're currently processing, if any.
Returns a hash explaining the Job we're currently processing, if any.
Returns a hash explaining the Job we ' re currently processing if any .
def job
      with_retries do
        decode(redis.get("worker:#{self}")) || {}
      end
    end
def job with_retries do decode ( redis . get ( "worker:#{self}" ) ) || { } end end
Returns a hash explaining the Job we're currently processing, if any.
Returns a hash explaining the Job we ' re currently processing if any .